Commit Graph

4198 Commits

Author SHA1 Message Date
Tim Sebastian 7972859640 refactor chunk.chunks usage to check for chunk existance 2017-06-24 11:39:46 +10:00
Tim Sebastian 53f70c7aeb deprecate chunk.chunks 2017-06-24 11:38:00 +10:00
Tim Sebastian 81e5b7ce4f refactor usage of this.chunk inside Chunk to use Set API 2017-06-24 11:38:00 +10:00
Tim Sebastian cedce8d0f5 make this.chunks in Chunk private and turn it into a Set 2017-06-24 11:37:20 +10:00
Tobias Koppers a959fefe73 Merge pull request #5112 from webpack/bugfix/evaluate-not-identifier
accept truthy/falsy value for not
2017-06-21 23:24:16 +02:00
Tobias Koppers 2d82b00767 Merge pull request #5113 from webpack/feature/better-error-message
better error message for missing internal names
2017-06-21 23:23:25 +02:00
Tobias Koppers e08d2f55c5 Merge pull request #5127 from timse/nitpicks-3
remove "lastId" as there is no usecase
2017-06-21 22:52:59 +02:00
Tobias Koppers c12a001787 Merge pull request #4854 from Orlandster98/es6-refactor
Es6 refactor in /lib folder
2017-06-21 22:52:01 +02:00
Tobias Koppers 3e3b7489b4 Merge pull request #4883 from AndersDJohnson/library-target-umd-names-per-target
feat: library target UMD supports names per target
2017-06-21 22:51:27 +02:00
Tobias Koppers 25a904bf88 Merge pull request #5083 from timse/sortable-set
Sortable set
2017-06-21 22:50:47 +02:00
Tobias Koppers 9128f96510 Merge pull request #5088 from ayastreb/es6-refactor
ES6 refactor lib/node/NodeMainTemplatePlugin.js
2017-06-21 22:47:21 +02:00
Tobias Koppers 70a4eaf658 Merge pull request #5108 from pierreneter/patch-1
Update README.md of Examples
2017-06-21 14:54:30 +02:00
Tobias Koppers fa216374ad Merge pull request #5122 from chentsulin/webpack3-uglifyjs-plugin
update uglifyjs-webpack-plugin to v0.4.6 to support webpack 3
2017-06-21 14:51:14 +02:00
Tim Sebastian 5b4836d185 remove "lastId" as there is no usecase 2017-06-21 22:22:00 +10:00
C.T. Lin 91c736e73a update uglifyjs-webpack-plugin to v0.4.6 to support webpack 3 2017-06-21 11:47:48 +08:00
Tim Sebastian 8f3d65aa5d fix linting/formatting issues 2017-06-21 08:12:22 +10:00
Tim Sebastian b2a4244b87 add tests for sortableset 2017-06-21 08:12:22 +10:00
Tim Sebastian 5f16dd8554 clean up SortableSet
- remove unnecessary _isSorted flag
- remove clear-override as an empty set is "sorted"
- early return on empty sets
2017-06-21 08:12:22 +10:00
Tim Sebastian f7ffed8f3e allow to set chunks and use it in ConcatenatedModule 2017-06-21 08:12:22 +10:00
Tobias Koppers 245dcc3047 better error message for missing internal names 2017-06-20 16:13:32 +02:00
Tobias Koppers 8e4c8423b5 accept truthy/falsy value for not
fix #5100
2017-06-20 15:58:24 +02:00
Pierre Neter 940fab0ccd Update README.md of Examples 2017-06-20 17:42:46 +07:00
Anatoliy Yastreb ce24a7be67 Refactor: string concatenation to template literals 2017-06-20 14:40:27 +09:00
Anatoliy Yastreb cd2f022d43 Refactor: remove unnecessary quote escaping 2017-06-20 10:05:55 +09:00
Tobias Koppers bf4ec9c26e 3.0.0 2017-06-19 17:37:28 +02:00
Anatoliy Yastreb 7f1d60d709 Refactor: string concatenation to template literals 2017-06-20 00:18:59 +09:00
Tobias Koppers 9feda63d13 Merge pull request #5028 from webpack/feature/externalize_uglify_plugin
feat(uglify): move uglify to external plugin from webpack-contrib
2017-06-19 17:04:27 +02:00
Tobias Koppers 49d6e388de Merge pull request #5086 from webpack/ci/node-8
OSX test on node.js 8
2017-06-19 14:20:45 +02:00
Tim Sebastian 7a99930d81 optimize sortableSet to prevent unnecessary sorting 2017-06-19 22:20:10 +10:00
Tim Sebastian 1a16a3e181 make sort function private 2017-06-19 22:13:44 +10:00
Anatoliy Yastreb c84aa45e98 Refactor: bound functions to arrow functions 2017-06-19 17:46:42 +09:00
Anatoliy Yastreb aa833bf1b4 Refactor: ES6 lib/node/NodeMainTemplatePlugin.js #4099 2017-06-19 17:35:05 +09:00
Tobias Koppers 3dcb13372d OSX test on node.js 8 2017-06-18 23:22:50 +02:00
Sean Larkin f4b878545b Merge pull request #5012 from webpack/TheLarkInn-patch-1
Changing readme voice to align with comm direction
2017-06-18 13:41:32 -05:00
Sean Larkin d26c402b17 chore(deps): upgrade uglifyjs-webpack-plugin deps to get latest webpack-sources so tests pass 2017-06-18 13:24:12 -05:00
Tobias Koppers 3da4f3e89d Merge pull request #5085 from jbellenger/jbellenger/rawmodule-hash
fix RawModule hashing
2017-06-18 19:51:21 +02:00
jbellenger 8c9dc149f0 fix RawModule hashing
fixes https://github.com/webpack/webpack/issues/5070
2017-06-18 10:25:03 -07:00
Sean Larkin c2c5d73d36 Update README.md
Grammar and rewording
2017-06-18 10:36:30 -05:00
Tobias Koppers 316d4b93e4 Merge pull request #5084 from timse/remove-duplicate-code
Remove duplicate code
2017-06-18 15:22:35 +02:00
Tim Sebastian ae18552599 update test case with changed hash due to less clutter in dependencies 2017-06-18 22:46:59 +10:00
Tim Sebastian fc20348f97 unite iteration through modules into one loop 2017-06-18 22:46:06 +10:00
Tim Sebastian 083843e0ad remove code that pushes arrays of dependencies into dependencies
the actua dep population is done in lines 155-159
2017-06-18 22:45:08 +10:00
Tobias Koppers ab636b0156 Merge pull request #5075 from andreipfeiffer/master
Refactor: use const for non reassignable identifier
2017-06-18 14:38:26 +02:00
Tim Sebastian bd8c6cf158 make sure ConcatenatedModules also uses SortedSet
fix tests that was falsy - per default chunks are flagged as sorted in module
however this only holds true as they are initialized empty. Concatenated module however
has initial modules and therefore is not guaranteed to be ordered, the flags should therfor be false.
Using SortedSet fixes this as a sideeffect
2017-06-18 14:34:32 +10:00
Tim Sebastian 4e5ef0d72d use SortableSet in modules
use SortableSet to keep "_chunks" sorted
2017-06-18 14:33:07 +10:00
Tim Sebastian 747efcadf9 use SortableSet in chunks
use SortableSet to keep "_modules" sorted
2017-06-18 13:57:11 +10:00
Tim Sebastian 0eaa84748d add SortableSet as a new collection type 2017-06-18 10:41:58 +10:00
Andrei Pfeiffer 3b3449c2e8 Refactor: use const for non reassignable identifier 2017-06-16 12:27:44 +03:00
Tobias Koppers 2ba0499105 3.0.0-rc.2 2017-06-14 23:46:00 +02:00
Tobias Koppers 1769fa2d95 Merge pull request #5064 from webpack/feature/scope-hoisting-multi-entry
Allow scope hoisting to process modules in multiple chunks
2017-06-14 23:43:41 +02:00