Commit Graph

158 Commits

Author SHA1 Message Date
Tom910 eb87ae931d Refactoring and optimize RemoveParentModulesPlugin.js 2017-01-23 21:52:47 +03:00
Tobias Koppers 8e69a80847 code linting 2017-01-11 12:29:01 +01:00
Shubheksha Jalan 126eb9158a refactor(ES6): upgrade OccurrenceOrderPlugin to ES6 (#3756) 2017-01-05 11:47:05 -06:00
Shubheksha Jalan a133c90b91 refactor(ES6) upgrade RemoveEmptyChunksPlugin to ES6 (#3765)
* refactor(ES6): upgrade RemoveEmptyChunksPlugin to ES6
2017-01-05 10:48:16 -06:00
Shubheksha Jalan 70bf6c2817 refactor(ES6): upgrade MinChunkSizePlugin to ES6 (#3757)
* refactor(ES6): upgrade MergeDuplicateChunksPlugin to ES6
2017-01-04 23:42:36 -06:00
Shubheksha Jalan 4149f10764 refactor(ES6): upgraded LimitChunkCountPlugin to ES6 (#3754) 2017-01-04 22:17:12 -06:00
Shubheksha Jalan 80e177a2a5 refactor(ES6): upgraded FlagIncludedChunksPlugin to ES6 (#3752) 2017-01-04 16:23:48 -06:00
Shubheksha Jalan 4699cccdae refactor(ES6): upgrade EnsureChunkConditionsPlugin to ES6 (#3751) 2017-01-04 16:21:38 -06:00
Shubheksha Jalan 771c6b2877 refactor(ES6): upgrade DedupePlugin to ES6 (#3749) 2017-01-04 15:18:39 -06:00
Shubheksha Jalan d1361ae078 refactor(ES6): upgrade AggressiveMergingPlugin to ES6 (#3732)
* refactor(ES6): upgrade AggressiveMergingPlugin to ES6
2017-01-04 15:18:16 -06:00
Shubheksha Jalan 7dae8fbc00 refactor(ES6): upgrade AggressiveSplittingPlugin to ES6 (#3743)
* refactor(ES6): upgrade AggressiveSplittingPlugin to ES6

* refactor(ES6): remove this hack and fix this value in arrow function
2017-01-04 13:15:54 -06:00
Shubheksha Jalan 61251de9c0 refactor(ES6): upgrade RemoveParentModulesPlugin to ES6 (#3731) 2017-01-04 12:44:01 -06:00
Shubheksha Jalan d7b97e86a1 refactor(ES6): upgrade ChunkModuleIdRangePlugin to ES6 (#3727) 2017-01-04 09:13:05 -06:00
Adam Markon 879adef6c7 refactor UglifyJSPlugin to ES6 class (#3717) 2017-01-03 23:53:37 -06:00
Sean Larkin aa8d01bf8d refactor(eslint): Added no-unsed-vars, env specific .eslintrc's for buildin & hot (#3636)
* refactor(eslint): Added no-unsed-vars, env specific .eslintrc's for buildin & hot

* This change allows for buildin to now be part of the lint test by addition of an extra .eslintrc file which extends existing but sets es6 to false
* Turned on no-unused-vars for eslint, and then removed all warnings from turning that feature on
* Was getting notified of errors in "quote" property in eslintrc, so changed to correct value from error to 2.

* beautify

* swap invalid eslint config val
2016-12-30 09:43:49 -06:00
James Hartig 0676304822 Pass mangle options to ast.figure_out_scope in uglify 2016-12-16 16:19:06 -05:00
Tobias Koppers c87d3ec523 Merge pull request #3428 from webpack/feature/performance
performance improvements
2016-12-14 21:18:44 +01:00
Tobias Koppers f4ab7fc7e2 more performance improvements 2016-12-14 16:22:54 +01:00
Tobias Koppers da29d21ae4 performance improvements
breaking change: Module has now a "unbuild" method that must work correctly
2016-12-14 16:22:16 +01:00
Tobias Koppers d0beb306ee check chunk condition before moving into commons chunk 2016-12-14 13:59:47 +01:00
inuscript 4bf2ba46af revert this.async (avoid may breaking change) 2016-12-07 09:43:17 +09:00
inuscript d03203d260 change async variable name 2016-12-07 08:54:10 +09:00
inuscript dcff8c833f Fill available params on Deprecation notice 2016-12-06 19:55:48 +09:00
Tobias Koppers 91cbb4c288 removed DedupePlugin
it's no longer needed for npm3
and causes many issues
2016-11-15 09:25:58 +01:00
Tushar Sonawane 34c02a9c15 fix 'no-loop-func' warnings 2016-10-29 18:53:54 +05:30
Tobias Koppers f9b81a7509 make sure module moving don't hang in circular chunk dependencies
fixes #2990
2016-09-18 10:30:05 +02:00
Tobias Koppers a0a920d83f added experimental plugin to set custom module ids 2016-09-16 01:18:21 +02:00
Duncan Beevers e7a06a79e2 Log original and mapped filename+line+column on uglify error 2016-08-03 21:35:57 -05:00
Tobias Koppers 79eb404257 fixes webpack/extract-text-webpack-plugin#82
fixes webpack/extract-text-webpack-plugin#115
fixes webpack/extract-text-webpack-plugin#170
2016-07-15 21:59:24 +02:00
Tobias Koppers 2f618e733a refactoring and aggressive-splitting plugin 2016-07-13 11:03:14 +02:00
Tobias Koppers cf00a1a22d rewrite cases where js beautify and eslint disagree on formatting 2016-06-20 21:46:27 +02:00
Simen Bekkhus b1bdd6989f Use eslint's indent rule 2016-06-20 08:21:00 +02: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 1b459d91f5 move externals into chunk with entry
fixes #2314
maybe fixes #2066
fixes #2375
fixes #1673
2016-05-05 10:13:50 +02:00
Tobias Koppers 795092fcea fixed small mistake in array check 2016-04-11 00:38:18 +02:00
Tobias Koppers 996b6c80ae cache parent checks, check faster array for contain 2016-04-10 23:55:37 +02:00
Tobias Koppers 7a15344eb1 reverted new algorithm for removing modules from parent chunks 2016-04-10 23:38:41 +02:00
Max Kostow 6cbd6997d3 skip commonModules if minChunks===Infinity 2016-04-06 13:51:21 -04:00
Tobias Koppers 2d7a7adade use index instead of debugId
fixed chunk propagation
2016-02-24 23:57:42 +01:00
Tobias Koppers a867825774 new algorithm for removing modules from parent chunks
#1905
2016-02-24 23:23:34 +01:00
Tobias Koppers b93aacbecf DedupePlugin cannot be cached 2016-02-09 22:34:10 +01: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
Ian Ker-Seymer d0c6e98dee
Use better error message for when given multiple args for CommonChunksPlugin 2016-01-21 23:01:00 -05: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 e5c11c721e Merge branch 'webpack-1'
Conflicts:
	lib/optimize/CommonsChunkPlugin.js
	package.json
2015-11-20 21:35:37 +01:00
Tobias Koppers 181da3c004 fixed another bug with the CommonsChunkPlugin
when using multiple commons chunks
other optimization plugins doesn't optimize perfectly
2015-11-20 21:29:32 +01:00
Tobias Koppers 556872b38f fixed bug in CommonsChunkPlugin
when passing passing mixed existing and not existing names
2015-11-20 20:24:06 +01:00