mirror of
https://github.com/fspc/workstand.git
synced 2025-02-23 17:23:24 -05:00
Load webpack only in debug.
This commit is contained in:
parent
668c9485d0
commit
b56e6dd621
@ -3,7 +3,6 @@ const BundleTracker = require('webpack-bundle-tracker');
|
|||||||
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
const ExtractTextPlugin = require('extract-text-webpack-plugin');
|
||||||
require('babel-polyfill');
|
require('babel-polyfill');
|
||||||
|
|
||||||
|
|
||||||
const config = require('./webpack.base.config.js');
|
const config = require('./webpack.base.config.js');
|
||||||
|
|
||||||
// Use webpack dev server
|
// Use webpack dev server
|
||||||
@ -41,7 +40,7 @@ config.module.loaders.push(
|
|||||||
{
|
{
|
||||||
test: /(\.scss|\.css)$/,
|
test: /(\.scss|\.css)$/,
|
||||||
loader: ExtractTextPlugin.extract('style', 'css?sourceMap&modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss!sass?sourceMap!toolbox'),
|
loader: ExtractTextPlugin.extract('style', 'css?sourceMap&modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]!postcss!sass?sourceMap!toolbox'),
|
||||||
}
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user