diff options
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/webpack.config.js b/webpack.config.js index 5d1e488..c52f805 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,13 +1,15 @@ +var bourbon = require('node-bourbon').includePaths + module.exports = { - entry: './index.js', - output: { - path: __dirname, - filename: 'bundle.js' - }, - module: { - loaders: [ - { test: /\.js$/, loader: 'babel', }, - { test: /\.css$/, loader: 'style!css' } - ] - } + entry: './index.js', + output: { + path: __dirname, + filename: 'bundle.js' + }, + module: { + loaders: [ + { test: /\.js$/, loader: 'babel', }, + { test: /\.scss$/, loader: 'style!css!sass?includePaths[]=' + bourbon } + ] + } }; |
