gdborton / webpack-parallel-uglify-plugin

A faster uglifyjs plugin.
466 stars 34 forks source link

Can you add a few more examples? #17

Open yangchongduo opened 7 years ago

yangchongduo commented 7 years ago

Can you add a few more examples?

gdborton commented 7 years ago

Any specific examples that you're looking for? Would it just be configuration or do you want to see full build examples?

zzuhan commented 7 years ago

a full executable example, I dont konw. A executable webpack uglify will be this

new webpack.optimize.UglifyJsPlugin({
        compress: {
          unused: true,
          dead_code: true,
          warnings: false
        },
        mangle: {
          except: ['$', 'exports', 'require']
        },
        output: {
          ascii_only: true
        }
      }
    )

but a executable webpack-parallel-uglify-plugin example ? how to transform form webpack.optimize.UglifyJsPlugin