Commit Graph

3388 Commits

Author SHA1 Message Date
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
Tobias Koppers 4369dfa27c Merge pull request #4320 from sendilkumarn/refactor-ww
refactor(es6) Webworker module
2017-02-21 09:40:22 +01:00
Tobias Koppers 1092ff4cef Merge pull request #4319 from jerairrest/test-contextreplacementplugin
Increased coverage on ContextReplacementPlugin
2017-02-21 09:38:46 +01:00
Tobias Koppers 16b9f73424 Merge pull request #4316 from sendilkumarn/wwcpt-es6
refactor(ES6): WebWorkerChunkPluginTemplate migration
2017-02-21 09:35:12 +01:00
SendilKumar N f2367c29d5 refactor(es6) Webworker module 2017-02-21 07:05:34 +08:00
SendilKumar N db2ff057f1 changing as per comments 2017-02-21 06:14:02 +08:00
Jer 0f45242a85 Merge branch 'master' of github.com:webpack/webpack into test-contextreplacementplugin 2017-02-20 14:39:59 -06:00
Jer 25ef1f882f fix paths for windows 2017-02-20 13:42:30 -06:00
Jer e73acf5403 liniting 2017-02-20 13:31:59 -06:00
Jer df119967cf added a better description 2017-02-20 13:16:30 -06:00
Jer 405a4aef27 add test to contextreplacemntplugin 2017-02-20 13:14:49 -06:00
Tobias Koppers f8c3e6383e Merge pull request #4309 from timse/fix-node-4-for-of-issue
node v4 fails to reassignes const in for-of loops properly
2017-02-20 17:48:38 +01:00
SendilKumar N 21d9b62f33 refactor(ES6): WebWorkerChunkPluginTemplate migration
linting
2017-02-20 21:30:42 +08:00
Tobias Koppers 8b0b7aa64c Merge pull request #4291 from Tushkiz/refactor-ruleset-to-es6
migrate 'lib/RuleSet.js' to es6
2017-02-19 22:21:58 +01:00
Tobias Koppers 84457bda2a Merge pull request #4304 from sergiorojasa/refactor-test-ModuleDependencyError
Refactor(ES6): ModuleDependencyError.test.js
2017-02-19 22:19:01 +01:00
Tim Sebastian 952f04d90f node v4 fails to reassignes const in for-of loops properly 2017-02-19 13:18:01 +11:00
Sergio Rojas 724749c63d refactor(ES6): ModuleDependencyError.test.js 2017-02-17 13:00:47 -08:00
Sergio Rojas 1b8cfaba73 refactor(ES6): ModuleDependencyError.test.js 2017-02-17 12:05:12 -08:00
Sergio Rojas e152999e5a refactor(ES6): NullDependency.test.js 2017-02-17 10:39:13 -08:00
Sergio Rojas a465d93f84 refactor(ES6):NullDependency.test.js 2017-02-17 10:02:19 -08:00
Tobias Koppers ecc2adbbfa Merge pull request #4257 from jescalan/je.error-fix
Fix Error Formatting Issue
2017-02-17 11:44:09 +01:00
Jeff Escalante 7c09a4d952 a couple more fixes that were initially missed 2017-02-16 11:16:47 -05:00
Tushar Sonawane 220eed8eb5 review changes 2017-02-16 16:07:26 +05:30
Tobias Koppers 27deabcefe Merge pull request #4259 from timse/refactor-normalmodule-to-es6
Refactor NormalModule to es6
2017-02-16 11:03:29 +01:00
Tobias Koppers 3edf64534b Merge pull request #4273 from webpack/test/dep-and-etp
updated api for extract-text-webpack-plugin
2017-02-16 10:59:32 +01:00
Tim Sebastian db2626595c fix test and linting 2017-02-16 19:31:58 +11:00
Tim Sebastian c06b0665d2 apply review tasks 2017-02-16 08:01:09 +11:00
Jeff Escalante ff96f7188a fix more stack trace captures, remove conditional detection 2017-02-15 14:55:54 -05:00
Tushar Sonawane 35524e6059 migrate RuleSet to es6 2017-02-16 00:49:57 +05:30
Tobias Koppers 86f7df128a Merge pull request #4286 from abaracedo/fix-typo-1
Fix typo
2017-02-15 19:59:48 +01:00
Alejandro Bar Acedo 2317f980c2 Fix typo in template 2017-02-15 19:00:43 +01:00
Tobias Koppers d0f1f6e770 Merge pull request #4134 from SebastianS90/uglifyjs-extract-comments
UglifyJsPlugin: extract comments to separate file
2017-02-15 15:07:54 +01:00
Tobias Koppers f91cb927be Merge pull request #4075 from webpack/feature/optimize_parse_for_each_to_loop
feat(parser) optimize parse for each to loop
2017-02-15 15:02:28 +01:00
Tobias Koppers 8f9b4721eb replace loader with use for the ETP 2017-02-15 14:38:19 +01:00
Tobias Koppers 3f3586e035 Merge pull request #4282 from mohsen1/patch-1
Add more granular schema for stats in options schema
2017-02-15 14:10:25 +01:00
Tobias Koppers 6542e42078 Merge pull request #4112 from timse/cleanup-chunk
Cleanup chunk
2017-02-15 12:41:37 +01:00