Commit Graph

39 Commits

Author SHA1 Message Date
Adam Markon 879adef6c7 refactor UglifyJSPlugin to ES6 class (#3717) 2017-01-03 23:53:37 -06:00
James Hartig 0676304822 Pass mangle options to ast.figure_out_scope in uglify 2016-12-16 16:19:06 -05:00
Duncan Beevers e7a06a79e2 Log original and mapped filename+line+column on uglify error 2016-08-03 21:35:57 -05:00
Tobias Koppers 7fdfdbd43b correct linting 2016-06-16 01:05:17 +02:00
Tobias Koppers ffd2d37efd changed defaults for uglifyjsplugin, no source mapping, no warnings 2016-05-29 12:17:59 +02:00
Tobias Koppers c501b5d5af fixed #2011 2016-02-08 09:54:13 +01:00
hh9527 1021faf13c Fix #1983 : Object properties can be mangle now.
Use the following config:

```js
{
  plugins: [
    new webpack.optimize.UglifyJsPlugin({
        mangle: {
          props: {
            regex: /_$/
          },
        },
      }),
  ]
}
```
2016-02-08 09:52:10 +01:00
Kenny Tran eebc5ceaf6 Fix no-redeclare in code 2016-01-18 18:57:42 -08:00
Tobias Koppers ded70aef28 moves stuff from webpack-core to webpack-sources 2015-12-29 17:44:55 +01:00
Tobias Koppers 67656b90e2 split uglify-js from loader minimize, better shortcut defaults 2015-11-16 23:11:15 +01:00
Sanghvi 6c3cd7750c Fix indentation in uglifyjs change 2015-10-12 18:34:13 -07:00
Sanghvi d1600176bd Reset uglify's base54 counters for each file 2015-10-12 16:47:49 -07:00
Alberto Leal 4024689e63 Stronger check and override of comments in UglifyJsPlugin options
Fixes https://github.com/webpack/webpack/issues/324
2015-07-26 21:26:27 -04:00
Tobias Koppers f7d799adb4 rebeautify without spacing after keyword 2015-07-16 00:19:23 +02:00
Avi Haiat 0a340f2b1a feat(app): Beautify all lib files 2015-07-13 01:20:09 +03:00
Tobias Koppers cebd3b9722 added linting 2015-04-23 23:55:50 +02:00
Tobias Koppers 92f53176a2 use sourceAndMap is available 2015-04-03 12:38:56 +02:00
Sebastien Barre 9cbce108f1 Factorize code with UglifyJSPlugin 2015-03-20 14:00:39 -04:00
Antti Ahti 5d107999d5 Show error messages from UglifyJs
Print out err.msg if it's available. Previously these error messages were ignored and it printed unhelpful "undefined"
2015-02-21 11:29:53 +02:00
Tobias Koppers 6779ddb076 allow to disable SourceMap in UglifyJsPlugin 2014-10-31 12:46:18 +01:00
berni 836aac7b51 use test, include and exclude options as suggested by @sokra 2014-10-30 11:29:33 +01:00
berni 15448f16e9 add ability to skip files via user-defined function 2014-10-29 23:35:24 +01:00
Tobias Koppers 8bbc81f635 typo 2014-10-10 09:10:06 +02:00
Tobias Koppers 2d3b2dc4f7 uglify .js with query string
fixes webpack/react-starter#9
2014-10-10 07:35:00 +02:00
Tobias Koppers e489cce1af fixes webpack/extract-text-webpack-plugin#15 2014-09-15 13:33:13 +02:00
Tobias Koppers 3597cdb149 Stack trace for critical UglifyJs errors 2014-07-26 13:59:30 +02:00
syranide 3f20c27302 Support any UglifyJS OutputStream option {output: {...}} 2014-05-13 23:13:25 +02:00
Tobias Koppers 3170b76b22 webpack 1.0 beta
moved many options to plugins
#113
2013-12-17 23:21:49 +01:00
Tobias Koppers a395c07c5d report better errors for uglify-js 2013-12-17 00:53:22 +01:00
Tobias Koppers d8dbc5e602 less code 2013-12-13 09:47:18 +01:00
Tobias Koppers c9331d93d3 fixed location info for minimizing 2013-10-31 00:06:39 +01:00
Tobias Koppers 672fc9ba0f UglifyJsPlugin: don't drop warnings
warnings are mapped by source map to modules
2013-09-14 11:50:39 +02:00
Tobias Koppers 6045abca76 allow to disable mangling 2013-07-11 00:16:07 +02:00
Tobias Koppers b5b672233f Fixed caching 2013-07-04 11:55:37 +02:00
Tobias Koppers 49506c83bb HOT: added update json info file, fixed infinite hash updates, #26 2013-07-01 13:59:02 +02:00
Tobias Koppers 72f29bf81c move minimize option to plugin 2013-05-12 22:44:10 +02:00
Tobias Koppers 8d0162c7bb small change in webpack-core 2013-03-28 08:42:53 +01:00
Tobias Koppers 0de7c73ad8 SourceMap support 2013-03-26 16:54:41 +01:00
Tobias Koppers 8ecdb72b48 removed old files, moved stuff 2013-02-01 08:42:12 +01:00