Commit Graph

3379 Commits

Author SHA1 Message Date
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
Alejandro Bar Acedo f01f04e1bd Fix typo
This PR only fixes a typo
2017-02-14 21:12:45 +01:00
Tim Sebastian b2b7021582 skip the windows path test for now 2017-02-14 22:55:55 +11:00
Mohsen Azimi 1ee598a08e Add "absolutePath": true to stats.context 2017-02-14 02:51:22 -08:00
Tim Sebastian a7bbe58376 fix style issues 2017-02-14 21:47:55 +11:00
Tobias Koppers 812689e580 Merge pull request #4278 from Reduxx/bugfix/spelling-mistake-min-chunk-size-plugin
fix spelling error in MinChunkSizePlugin
2017-02-14 11:44:50 +01:00
Tobias Koppers 3a8c32bea6 Merge pull request #4280 from simon04/issue-4270
Fix name of contexts created using `import()`
2017-02-14 11:44:27 +01:00
Tobias Koppers 7a39b049ef Merge pull request #4281 from e-jigsaw/fix-typo
fix typo
2017-02-14 11:43:59 +01:00
Tim Sebastian f418e4d5ae add tests for newly added methods 2017-02-14 21:28:32 +11:00
Tim Sebastian f4d8c5f20f fix inner loop of "remove" method
as it is not guaranteed that the the chunk has parents the loop may not be run
this could lead to stale "this" still being a parent of one of its childs.
therefore we have to loop the chunks again.
2017-02-14 21:16:10 +11:00