Commit Graph

5447 Commits

Author SHA1 Message Date
Sean Larkin ec8ece44f7
Merge pull request #6423 from mmckeaveney/profiling-plugin-json-errors
fixed error with importing JSON with ProfilingPlugin
2018-01-30 17:40:39 -08:00
Martin McKeaveney 1a2d9360b4
Update ProfilingPlugin.js 2018-01-30 22:06:23 +00:00
Martin McKeaveney 6225acefbe fixed error with importing JSON with ProfilingPlugin 2018-01-30 21:40:24 +00:00
Sean Larkin 24b046e0d1
Merge pull request #6415 from samccone/sjs/fix-last-event
Manually exclude internal tap of plugin.
2018-01-29 22:34:11 -08:00
Sam Saccone 88cdf4b6af Manually exclude internal tap of plugin.
This was forcing the timestamp of the last trace to be the last event
in the JSON trace, and thus breaking the CPU profile.

Instead manually exclude this plugin from being traced to avoid this
issue.
2018-01-29 16:03:46 -08:00
Tobias Koppers c963e3db54
Merge pull request #6380 from webpack/fix-6379
Exit top level scope when traversing Class nodes
2018-01-25 11:47:33 +01:00
Florent Cailhol b8815a9415 Leave top level scope when traversing Class nodes 2018-01-25 09:57:47 +01:00
Tobias Koppers ae0dc62b7b 4.0.0-beta.0 2018-01-24 23:25:26 +01:00
Tobias Koppers 042e36aae6 update examples 2018-01-24 23:23:34 +01:00
Tobias Koppers bd5e8850fa
Merge pull request #6369 from webpack/refactor/generate-interface-normal-module
move source generation into separate module
2018-01-24 21:30:24 +01:00
Tobias Koppers 0857defcbe
Merge pull request #6375 from webpack/bugfix/optimization-only-on-main
run splitChunks and runtimeChunk only on main compiliation
2018-01-24 21:29:17 +01:00
Tobias Koppers 72f904a34b run splitChunks and runtimeChunk only on main compiliation 2018-01-24 12:00:50 +01:00
Tobias Koppers 5c63d3cb43 move source generation into separate module
allow to pass a Generator to NormalModule
change NormalModule constructor to options object

🍆
2018-01-24 11:33:38 +01:00
Tobias Koppers 02f8c96925
Merge pull request #6374 from webpack/refactor/render-manifest
make render manifest extensible
2018-01-24 11:23:07 +01:00
Tobias Koppers d6816afddf
Merge pull request #6355 from webpack/for_of_loops
Use for-of loops instead of forEach
2018-01-24 10:35:58 +01:00
Florent Cailhol bcbd878ac4 Fix indent 2018-01-24 10:11:53 +01:00
Tobias Koppers 9c8098c635
Merge pull request #6370 from webpack/remove_v3_deprecated
Remove v3 deprecated APIs
2018-01-24 09:43:10 +01:00
Tobias Koppers 66bd2eab83 make render manifest extensible
move JS and WASM specific template stuff into plugins
2018-01-24 09:39:49 +01:00
Tobias Koppers 7a1b357aad
Merge branch 'next' into for_of_loops 2018-01-24 09:01:31 +01:00
Tobias Koppers f2141e13a1
Merge pull request #6365 from probablyup/timestamps-perf
perf: refactor various timestamp caches into ES6 Maps
2018-01-24 08:58:22 +01:00
Tobias Koppers b7063092b1
Readd removed util module
merge issue
2018-01-24 08:47:43 +01:00
Tobias Koppers ad75e44d02
Merge branch 'next' into remove_v3_deprecated 2018-01-24 08:45:13 +01:00
Tobias Koppers 7de03f2984
Merge pull request #6367 from webpack/deprecate_forEach_map
Deprecate forEach* and map* methods
2018-01-24 08:39:59 +01:00
Evan Scott 3adf072eea test: add test for objectToMap util 2018-01-24 01:33:26 -05:00
Evan Scott 09bf8f5496 refactor: adjustments per PR comments 2018-01-24 00:55:53 -05:00
Florent Cailhol 7b8fa112e0 Remove v3 deprecated APIs 2018-01-23 23:25:01 +01:00
Florent Cailhol d4811b0d37 Use for-of loops instead of forEach 2018-01-23 22:53:18 +01:00
Tobias Koppers e82677c09c
Merge pull request #6368 from webpack/expose_worker_loader_plugins
Expose worker loader plugins
2018-01-23 22:52:05 +01:00
Florent Cailhol 77bb4c0055 Deprecate forEach* and map* methods 2018-01-23 22:19:59 +01:00
Tobias Koppers d575b78199
Merge pull request #6364 from michael-ciniawsky/patch
fix(lib/Chunk): typo in `getNumberOfGroups` return value
2018-01-23 22:05:22 +01:00
Florent Cailhol aa7d5d5554 Sort exports 2018-01-23 21:02:51 +01:00
Florent Cailhol ba7cedf79f Expose plugins required by worker-loader 2018-01-23 21:00:09 +01:00
Michael Ciniawsky 390fac43b4 fix(lib/Chunk): typo in `getNumberOfGroups` return value 2018-01-23 08:54:19 +01:00
Evan Scott 1f29fa9b51 perf: refactor various timestamp caches into ES6 Maps
This change satisfies https://github.com/webpack/webpack/issues/6234
which desires to change the timestamp caches from plain objects to
the ES6 Map type to avoid deopts, since v8 expects things to be
added to Maps but objects are only fast if properties aren't added
dynamically after initial assignment.
2018-01-23 02:30:22 -05:00
Sean Larkin e8c25960a9
Merge pull request #6358 from webpack/remove_apply_plugins
Use hooks instead of applyPlugins
2018-01-22 10:40:54 -08:00
Sean Larkin e6687436b1
Merge pull request #6356 from webpack/buffer_from
Use Buffer.from instead of new Buffer
2018-01-22 10:38:36 -08:00
Florent Cailhol 7f303e5260 Use Buffer.from instead of new Buffer 2018-01-22 17:23:34 +01:00
Florent Cailhol 6192e5b413 Use hooks instead of applyPlugins 2018-01-22 15:23:52 +01:00
Tobias Koppers c302bba6a5 4.0.0-alpha.5 2018-01-22 15:19:25 +01:00
Tobias Koppers bfe89fb92f update examples 2018-01-22 15:18:54 +01:00
Tobias Koppers d043323305 update commons/vendor chunk example 2018-01-22 15:18:41 +01:00
Tobias Koppers dc90e705bb
Merge pull request #6353 from webpack/bugfix/chunk-is-initial
split Chunk.isInitial into isOnlyInitial and canBeInitial
2018-01-22 14:36: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 6bd1240eaf
Merge pull request #6352 from webpack/replace_apply
Remove deprecated apply call
2018-01-22 11:38:08 +01:00
Tobias Koppers 2d7d5a0f72
Merge pull request #6349 from webpack/parser_source_type
Refactor how source type is handled by the parser
2018-01-22 11:37:54 +01:00
Tobias Koppers 22705969a9
Merge pull request #6331 from webpack/lint/beauty-webpack-config
Enable beautify for webpack configs in tests and examples
2018-01-22 11:11:54 +01:00
Florent Cailhol 6072c49734 Remove deprecated apply call 2018-01-22 09:32:28 +01:00
Florent Cailhol 86e6edf1ab Refactor how source type is handled by the parser 2018-01-22 09:30:43 +01:00
Tobias Koppers 32ebbfd7c7 Beautify webpack configs 2018-01-22 08:51:35 +01:00
Tobias Koppers 5954cbac2f Enable beautify for webpack configs in tests and examples 2018-01-22 08:49:40 +01:00