Skip to content

Commit

Permalink
fix: minimization for js
Browse files Browse the repository at this point in the history
  • Loading branch information
wuda-io committed Jul 12, 2023
1 parent 3347651 commit b25faf6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9,058 deletions.
7 changes: 5 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,14 @@ module.exports = function(grunt) {
prod_min: Object.assign({}, webpackConfig, {
mode: 'production',
devtool: 'source-map',
optimization: {
minimize: true
},
output: {
filename: 'materialize.min.js',
path: path.resolve(__dirname, 'dist/js'),
libraryTarget: 'umd',
globalObject: 'this'
libraryTarget: 'umd',
globalObject: 'this'
}
}),
},
Expand Down
Loading

0 comments on commit b25faf6

Please sign in to comment.