From 36dca367fd4e0d531b025f5ca0e5eb9396d89a30 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Mon, 15 Aug 2016 16:55:04 +0300 Subject: Add SCSS style --- webpack.config.js | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'webpack.config.js') 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 } + ] + } }; -- cgit v1.3.1