Open captainkovalsky opened 8 years ago
Have a look at http://hownodejs.com/39/01/how-to-import-ruby-gems-breakpoint-with-webpack.html it seems to have a solution
Assuming you installed breakpoint-sass package:
npm install breakpoint-sass --save-dev
Then you have to import it letting the SASS loader know that this element you want to import, that is, "breakpoint", is outside the SASS folder, with the other node modules:
@import '~breakpoint-sass/stylesheets/breakpoint';
Perhaps we could add this to the Readme, or rather the wiki?
Yes, please add this line to the "Installation" section to the project's wiki:
npm i -D breakpoint-sass
and this line to the "Using Breakpoint":
@import "../node_modules/breakpoint-sass/stylesheets/_breakpoint";
+1 on the wiki edit
Hi guys,
I've installed susy and sass, after that include css/sass loader to webpack config
{ test: /\.scss$/, loader: ExtractTextPlugin.extract('css!sass') }
Here is my main scss file
This is an error in a webpack output
gems which are installed
Does anyone know how to properly import breakpoint ?