Skip to content

Commit 4656dda

Browse files
Merge pull request #498 from lionel-bijaoui/build-size-optimization
Build size optimization
2 parents d876955 + b4e32ac commit 4656dda

File tree

7 files changed

+161
-161
lines changed

7 files changed

+161
-161
lines changed

build/webpack.build.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const banner =
1111
" * Released under the MIT License.\n" +
1212
" */\n";
1313
const ExtractTextPlugin = require("extract-text-webpack-plugin");
14+
const LodashModuleReplacementPlugin = require("lodash-webpack-plugin");
1415
const StatsPlugin = require("stats-webpack-plugin");
1516
const vueLoaderConfig = require("./vue-loader.conf");
1617

@@ -72,6 +73,7 @@ module.exports = [
7273
NODE_ENV: JSON.stringify("production")
7374
}
7475
}),
76+
new LodashModuleReplacementPlugin(),
7577
new webpack.optimize.UglifyJsPlugin({
7678
compress: {
7779
warnings: false

dist/vfg-core.css

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vfg-core.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)