diff options
Diffstat (limited to 'webapp/webpack.config.js')
-rw-r--r-- | webapp/webpack.config.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/webapp/webpack.config.js b/webapp/webpack.config.js index d0947f1a3..153b07339 100644 --- a/webapp/webpack.config.js +++ b/webapp/webpack.config.js @@ -84,9 +84,6 @@ var config = { } ] }, - sassLoader: { - includePaths: ['node_modules/compass-mixins/lib'] - }, plugins: [ new webpack.ProvidePlugin({ 'window.jQuery': 'jquery' @@ -102,6 +99,13 @@ var config = { minimize: !DEV, debug: false }), + new webpack.LoaderOptionsPlugin({ + options: { + sassLoader: { + includePaths: ['node_modules/compass-mixins/lib'] + } + } + }), new webpack.DefinePlugin({ 'process.env': { NODE_ENV: JSON.stringify('production') |