From b56e6dd621011d0ffe3f278b57d26ba57942bfac Mon Sep 17 00:00:00 2001 From: Drew Larson Date: Tue, 24 Jan 2017 22:02:27 -0600 Subject: [PATCH] Load webpack only in debug. --- bikeshop_project/webpack.dev.config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bikeshop_project/webpack.dev.config.js b/bikeshop_project/webpack.dev.config.js index 8d55b75..13638bb 100644 --- a/bikeshop_project/webpack.dev.config.js +++ b/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;