-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After ejecting, unsure of how to add Bourbon / Neat to webpack #837
Comments
After a tiny bit more research I was able to solve it myself. I realised I needed to path the include paths to Here is what cleared it up for me Hopefully this helps someone else in the future 🎉 |
@lukerollans Could you paste your solution, please. |
@designbyadrian The above is very slightly out of date if you're using the latest version of Read this article, plus the comments for a complete guide |
@lukerollans Thank you, but neither article explains how to properly use the value returned from |
@designbyadrian Yes they do :)
|
I am migrating an existing, server-rendered front-end to a React app. Woo! 🎉
It's my first pure javascript front-end, so I'm a little rusty with things like webpack. I need to bring over Bourbon and Neat which I previously setup in Brunch, so I understand the necessity for include paths etc.
After ejecting, I made the following modifications..
package.json
config/paths.js
config/webpack.config.dev.js (after also installing
node-sass
which is working great)After this, it's my understanding that simply
@import "bourbon"
fromApp.scss
should work, but I'm getting.Does anyone see where I might be going wrong?
The text was updated successfully, but these errors were encountered: