Giving node-refills
a try in an application build with webpack, but imports don't appear to work.
in webpack.config.js
var NodeRefills = require("node-refills");
module.exports = {
module: {
loaders: [
{
test: /\.scss$/,
exclude: /node_modules/,
loader: 'style!css!sass'
}
]
},
sassLoader: {
includePaths: NodeRefills.includePaths
},
}
Doing the same thing with node-neat
, I can import those assets like this:
in layout.scss
@import "bourbon";
@import "neat";
But in the above instance,
@import "refills";
Causes webpack build to fail with:
File to import not found or unreadable: refills
Any hints? Thanks!