summaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorYuval Adam <yuval@y3xz.com>2016-08-15 16:55:04 +0300
committerYuval Adam <yuval@y3xz.com>2016-08-15 16:55:04 +0300
commit36dca367fd4e0d531b025f5ca0e5eb9396d89a30 (patch)
tree2e9f98890c002fd78b880e973c0ef859e7ba1688 /webpack.config.js
parent49e72c687025d847f5a983005e70855142853af9 (diff)
Add SCSS style
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js24
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 }
+ ]
+ }
};