Link Search Menu Expand Document

Details

plugins: [
    new webpack.optimize.UglifyJsPlugin({
        compress: {
            warnings: false,
            drop_console:false
        }
    });
]

Gotcha

  • can’t parse es6, code must be converted to es5

Options

  • compress: bool
    • default: true
  • warningsFilter: func(source) -> bool
    • filter uglify

Copyright © 2020 Thence LLC