1
0
mirror of https://github.com/fspc/workstand.git synced 2025-02-23 09:13:23 -05:00

Load webpack only in debug.

This commit is contained in:
Drew Larson 2017-01-24 22:02:27 -06:00
parent 668c9485d0
commit b56e6dd621

View File

@ -3,7 +3,6 @@ const BundleTracker = require('webpack-bundle-tracker');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
require('babel-polyfill');
const config = require('./webpack.base.config.js');
// Use webpack dev server
@ -41,7 +40,7 @@ config.module.loaders.push(
{
test: /(\.scss|\.css)$/,
loader: ExtractTextPlugin.extract('style', 'css?sourceMap&modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss!sass?sourceMap!toolbox'),
}
},
);
module.exports = config;