Commit Graph

24 Commits

Author SHA1 Message Date
Suguru Motegi 864e563173 replace Async with Neo-Async 2018-02-11 14:31:08 -08:00
Florent Cailhol 77bb4c0055 Deprecate forEach* and map* methods 2018-01-23 22:19:59 +01:00
Tobias Koppers ea609374f7 split Chunk.isInitial into isOnlyInitial and canBeInitial
remove includeInitial argument of getChunk(Module)Maps
2018-01-22 12:52:28 +01:00
Tobias Koppers c68f224272 move providedExports into buildMeta 2017-12-12 17:01:03 +01:00
Tobias Koppers ffb977fed4 refactor meta -> buildMeta, add factoryMeta
add compat layer to Module.meta
2017-12-12 16:57:50 +01:00
Sean Larkin 04555e36d3 fix(): remove new statement before Buffer.from 2017-12-09 21:43:17 -08:00
Sean Larkin 99bbbebfe2 feat(tapable): upgrade LibManifestPlugin to Tapable v1 2017-12-07 23:50:14 -08:00
Tobias Koppers 2bd2d2844c improve a few issues
from review by @Kovensky
2017-05-20 14:54:42 +02:00
Tobias Koppers e1bac32c19 Use a Set to store modules in a chunk 2017-05-16 11:50:50 +02:00
Martin Veith de87f93c1b Disable manifest.json pretty print 2017-04-28 21:34:38 +02:00
SendilKumar N 18092b94f5 changing async to asyncLib 2017-04-05 21:03:47 +08:00
SendilKumar N a308151810 refactor(es6): LibManifestPlugin 2017-04-05 20:39:23 +08:00
Sean Larkin 91c1f35e05 fix(node): rollback changes of Buffer.from to new Buffer() and bump down travis to 4.3 min node v 2017-01-16 23:57:27 -06:00
Sean Larkin 7327ee608a chore(eslint): added eslint-node-plugin (#3652) 2016-12-30 17:13:49 -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
Tobias Koppers 65b70bf5ed finished refactory of tree shaking
changes format for dll manifest

#2953
fixes #2959
2016-09-07 09:44:53 +02:00
Tobias Koppers b5d52d4505 changed lib manifest format to store harmony structure information
allow to use dll with harmony modules

fixes #2876
fixes #2857
2016-08-17 12:05:29 +02:00
Tobias Koppers 2f618e733a refactoring and aggressive-splitting plugin 2016-07-13 11:03:14 +02:00
Tobias Koppers 131bc08126 fixed bugs with DllPlugin 2016-01-30 11:43:22 +01:00
Jon Wong 4650dfef44 Fixing issue where DllPlugin + code-splits caused Webpack to end without emitting chunks.
When utilizing code-splitting via a statement like `require.ensure` in addition to the `DllPlugin`, the webpack process would emit the Dll manifest, but not the chunks corresponding to that manifest.

According to [async#forEach](https://github.com/caolan/async#eacharr-iterator-callback), the callback must be called at the completion of every iteration - when utilizing code-splitting, the shortcut branch here would never call the iterator callback, which in turn meant that the `emit` callback never got called, causing the chunks generated by the Dll to not get emitted.

Adding the completion callback results in the behavior we expect - the manifest and the chunks corresponding to that manifest both get emitted.
2015-12-16 10:45:48 -08:00
Tobias Koppers f7d799adb4 rebeautify without spacing after keyword 2015-07-16 00:19:23 +02:00
Avi Haiat 0a340f2b1a feat(app): Beautify all lib files 2015-07-13 01:20:09 +03:00
Tobias Koppers 4fdf62b919 added DllReferencePlugin 2015-05-17 11:06:35 +02:00
Tobias Koppers 817e678d9a added DllPlugin and dll example 2015-05-16 18:27:59 +02:00