diff options
| author | Yuval Adam <yuval@y3xz.com> | 2016-08-15 16:55:04 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2016-08-15 16:55:04 +0300 |
| commit | 36dca367fd4e0d531b025f5ca0e5eb9396d89a30 (patch) | |
| tree | 2e9f98890c002fd78b880e973c0ef859e7ba1688 /webpack.config.js | |
| parent | 49e72c687025d847f5a983005e70855142853af9 (diff) | |
Add SCSS style
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 } + ] + } }; |
