Skip to content

Commit

Permalink
chore(build): modify build process
Browse files Browse the repository at this point in the history
  • Loading branch information
zack9433 committed Jul 25, 2016
1 parent da95fa4 commit 586552b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions webpack.build.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';

var webpack = require('webpack');
var LodashModuleReplacementPlugin = require('lodash-webpack-plugin');
var autoprefixer = require('autoprefixer');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var bourbon = require('node-bourbon').includePaths;
Expand Down Expand Up @@ -35,6 +36,7 @@ config.postcss = [ autoprefixer({ browsers: ['last 2 versions'] }) ];

config.plugins.push(
new ExtractTextPlugin('sanji-cellular-ui.css'),
new LodashModuleReplacementPlugin,
new webpack.optimize.DedupePlugin(),
new webpack.LoaderOptionsPlugin({
minimize: true,
Expand Down
2 changes: 0 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

var path = require('path');
var webpack = require('webpack');
var LodashModuleReplacementPlugin = require('lodash-webpack-plugin');
var NODE_ENV = process.env.NODE_ENV;
var BASE_PATH = process.env.BASE_PATH;
var nodeRoot = path.join(__dirname, 'node_modules');
Expand Down Expand Up @@ -38,7 +37,6 @@ var config = {
noParse: []
},
plugins: [
new LodashModuleReplacementPlugin,
new webpack.DefinePlugin({
__TEST__: 'test' === NODE_ENV,
__DEV__: 'development' === NODE_ENV,
Expand Down

0 comments on commit 586552b

Please sign in to comment.