Skip to content

Commit

Permalink
fix(webpack): 🐛 webpack minify bbj-grid-widget.js in production`
Browse files Browse the repository at this point in the history
  • Loading branch information
hyyan committed Jun 2, 2020
1 parent 08caff4 commit 8b6eaf5
Show file tree
Hide file tree
Showing 4 changed files with 26,953 additions and 14 deletions.
26,944 changes: 26,939 additions & 5 deletions client/dist/bbj-grid-widget.js

Large diffs are not rendered by default.

7 changes: 4 additions & 3 deletions client/dist/bbj-grid-widget.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions client/dist/report.html

Large diffs are not rendered by default.

12 changes: 8 additions & 4 deletions client/webpack.config.js
Expand Up @@ -53,15 +53,19 @@ module.exports = {
},
},
{ loader: 'postcss-loader' },
{ loader: 'postcss-loader' },
],
},
],
},
optimization: {
minimize: true,
minimizer: [
new UglifyJsPlugin({
include: /\.min\.js$/,
}),
],
},
plugins: [
new UglifyJsPlugin({
include: /\.min\.js$/,
}),
new CopyWebpackPlugin([
{
from:
Expand Down

0 comments on commit 8b6eaf5

Please sign in to comment.