Commit Graph

3440 Commits

Author SHA1 Message Date
Tobias Koppers e618bdc6c8 Merge pull request #4310 from timse/cleanup-commons-chunk-plugin
Cleanup commons chunk plugin
2017-02-22 22:54:50 +01:00
Tobias Koppers 8a787c388c Merge pull request #4337 from sendilkumarn/refactor-5
Refactor(ES6): EvalSourceMapDevToolModuleTemplatePlugin
2017-02-22 22:53:51 +01:00
Tobias Koppers d3e5805272 Merge pull request #4334 from sendilkumarn/refactor-3
Refactor(ES6): Provide/ Progress Plugin / Options Apply / Null Factory
2017-02-22 15:51:00 +01:00
Tobias Koppers 57825153e5 Merge pull request #4305 from rrharvey/feature/multi-entry-cli
allow mutli-file entry via CLI
2017-02-22 15:03:52 +01:00
Tobias Koppers 479a0a4b7b Merge pull request #4189 from webpack/feature/child-plugins
child compiler features
2017-02-22 15:01:08 +01:00
Tobias Koppers 05181151bf Merge pull request #4307 from timse/refactor-externalmodule-to-es6
Refactor externalmodule to es6
2017-02-22 15:00:36 +01:00
Tobias Koppers 109750f276 Merge pull request #4323 from sendilkumarn/refactor-fmtp
refactor(es6): FunctionModuleTemplatePlugin
2017-02-22 14:28:54 +01:00
Tobias Koppers f66439e2b7 Merge pull request #4336 from willmendesneto/refactor-harmony-modules-helpers
refactor(HarmonyModulesHelpers): upgrade to ES6
2017-02-22 14:28:34 +01:00
Tobias Koppers ebf33fa61e Merge pull request #4317 from jquense/add-resolver-context
Add resolver result to module callback
2017-02-22 14:22:18 +01:00
Tim Sebastian 35e3c8495d add test cases for min-size 2017-02-22 23:02:17 +11:00
Will Mendes 929a4d057e refactor(HarmonyModulesHelpers): upgrade to ES6 2017-02-22 22:33:56 +11:00
Tobias Koppers fbf84d51f2 allow to apply plugins to child compiler
allow to match on compiler name in rules

#4177
2017-02-22 11:49:49 +01:00
Tim Sebastian 28b4972d53 replace `chunk.hasRuntime` with `chunk.parents.length === 0`
see https://github.com/webpack/webpack/pull/4310\#discussion_r102400692
2017-02-22 21:38:45 +11:00
Tim Sebastian 59ea80ff9a remove `chunk.isInitial` constraint before moving blocks 2017-02-22 21:35:50 +11:00
Tim Sebastian e1ea0a717c implement review feedback 2017-02-22 21:32:31 +11:00
SendilKumar N b423a15724 Refactor(ES6): EvalSourceMapDevToolModuleTemplatePlugin 2017-02-22 18:27:02 +08:00
SendilKumar N a9ae64a6c9 Refactor(ES6): Lint fixes 2017-02-22 16:12:24 +08:00
SendilKumar N 2a76e5ae6b Refactor(ES6): Null Factory 2017-02-22 16:01:17 +08:00
SendilKumar N 0cb0bad1d9 Refactor(ES6) : OptionsApply 2017-02-22 15:59:58 +08:00
SendilKumar N 3e22f61bf1 Refactor(ES6): ProgressPlugin 2017-02-22 15:57:56 +08:00
SendilKumar N a2c5d79b8a Refactor(ES6): ProvidePlugin 2017-02-22 15:47:14 +08:00
Tobias Koppers 045219e531 Merge pull request #4322 from sendilkumarn/refactor-ww2
Refactor webworker var -> const changes
2017-02-22 08:32:50 +01:00
Tobias Koppers 0fd1ddd094 replace let with const 2017-02-22 08:32:01 +01:00
Tobias Koppers f4c04d8f98 Merge pull request #4325 from sendilkumarn/refactor-2
Refactor(ES6) WebpackOptionsApply / sizeFormatHelpers / RecordsIdsPlugin
2017-02-22 08:30:38 +01:00
Tobias Koppers 0f9ddc389d Merge pull request #4330 from sergiorojasa/refactor-lib-MultiModuleFactory
Refactor(ES6): MultiModuleFactory.js
2017-02-22 08:30:01 +01:00
Sergio Rojas 4ab24a5beb Update MultiModuleFactory.js 2017-02-21 11:17:24 -08:00
Sergio Rojas 9405cf2768 Update MultiModuleFactory.js 2017-02-21 11:13:40 -08:00
Sergio Rojas 3a13061a61 Refactor(ES6): MultiModuleFactory.js 2017-02-21 10:51:12 -08:00
SendilKumar N ef9c564668 Refactor(ES6): RecordsIdsPlugin 2017-02-21 22:13:09 +08:00
SendilKumar N aaab1837e5 Refactor(es6): sizeFormatHelpers 2017-02-21 21:52:40 +08:00
SendilKumar N 4500b10140 refactor(es6): WebpackOptionsApply 2017-02-21 21:49:15 +08:00
Tim Sebastian 018ca1ad2c improve comments 2017-02-22 00:13:21 +11:00
Tim Sebastian 61ce0f79c1 apply review feedback 2017-02-22 00:13:21 +11:00
Tim Sebastian cc1636f141 make variable and method names clearer 2017-02-22 00:13:20 +11:00
Tim Sebastian efa8b52293 use children option instead of `selectedChunks === false` 2017-02-22 00:13:20 +11:00
Tim Sebastian 5838f56d0f correct comment 2017-02-21 23:47:55 +11:00
Tim Sebastian ec736bfe21 move actual apply method to the top, to easier find where things happen 2017-02-21 23:47:55 +11:00
Tim Sebastian c97b3de912 add better validation for options, rename async to prevent future clash with reserved words 2017-02-21 23:47:54 +11:00
Tim Sebastian 10cea76e1e fix wrong assignment of filenameTemplate in constructor 2017-02-21 23:47:54 +11:00
Tim Sebastian 9a7a6b93bd add comments and clean up a bit 2017-02-21 23:47:54 +11:00
Tim Sebastian bcc10e8aa6 extract the last step of reconnecting the chunks to own methods 2017-02-21 23:47:54 +11:00
Tim Sebastian 9f18ea9b15 split up and extract default linking between modules and chunks 2017-02-21 23:46:51 +11:00
Tim Sebastian 24b8aebb74 extract reallyUsedModules creation to own simplified methods 2017-02-21 23:46:51 +11:00
Tim Sebastian 15be539d24 fix up method call 2017-02-21 23:46:51 +11:00
Tim Sebastian 24ecaf56be cleanup unused variables 2017-02-21 23:46:50 +11:00
Tim Sebastian 3dc08aec2a extract creation of async chunk 2017-02-21 23:46:50 +11:00
Tim Sebastian 063c54f546 extract creation of usedChunks 2017-02-21 23:46:50 +11:00
Tim Sebastian d53c882929 extract and simplify definition of the common chunk 2017-02-21 23:46:50 +11:00
Tim Sebastian e9ac46dc26 normalize options for commons chunk plugin 2017-02-21 23:46:50 +11:00
SendilKumar N be614eac24 refactor(es6): FunctionModuleTemplatePlugin 2017-02-21 18:35:09 +08:00