Browse Source

Load webpack only in debug.

feature/bug/disable-submit-until-valid
Drew Larson 8 years ago
parent
commit
b56e6dd621
  1. 3
      bikeshop_project/webpack.dev.config.js

3
bikeshop_project/webpack.dev.config.js

@ -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;

Loading…
Cancel
Save