Commit Graph

133 Commits

Author SHA1 Message Date
Michael Loughry 00af3752e2 Use JSON.stringify 2019-01-03 09:48:02 -08:00
Michael Loughry 387de2554b Delete extraneous comment 2019-01-02 20:21:02 -08:00
Michael Loughry 186510c7c2 Fix emit for prefetching chunks from runtime chunk 2019-01-02 13:00:40 -08:00
Tobias Koppers f446bf8a9b add ability to load dependent chunks for non-web targets
This allows to use `splitChunks` for initial chunks in i. e. node and webworker targets
2018-12-29 12:48:59 +01:00
Tobias Koppers 1b402bcae1 Merge tag 'v4.28.0' into next
4.28.0
2018-12-19 14:05:17 +01:00
Mihail Bodrov 6f5c5ef33c Use document.head instead of getElementsByTagName
Update snapshot
2018-12-06 03:00:23 +03:00
Tobias Koppers 5c7d6d2db6 change ensureHandlers from array to object 2018-11-29 16:23:36 +01:00
Tobias Koppers 8066eaf299 put runtime modules into separate place in chunks
don't include them in modules array/object
better stats output for runtime moduels
2018-11-29 16:23:31 +01:00
Tobias Koppers 9d91861592 Refactor HMR for runtime modules
fixed a few HMR bugs
allow other module types for HMR
made HMR more flexible
2018-11-29 16:22:29 +01:00
Tobias Koppers fa0ec849bd replace renderCurrentHash with RuntimeGlobals.getFullHash 2018-11-29 16:19:22 +01:00
Tobias Koppers cf626c612a Preparations for HMR refactoring 2018-11-29 16:18:45 +01:00
Tobias Koppers f753f92c28 ensureChunk to RuntimeModule
step 1: non HMR cases
2018-11-29 16:16:39 +01:00
Tobias Koppers 2857ad3ee4 runtime module for getChunkFilename 2018-11-29 16:15:26 +01:00
Florent Cailhol 3157f5dfb4 Add hook map types 2018-11-12 14:26:33 +01:00
Florent Cailhol 8a10ea3c92 Type 'apply' method of plugins 2018-11-12 14:26:31 +01:00
Tobias Koppers eb28697419 move magic property names on __webpack_require__ into RuntimeGlobals file 2018-11-05 15:28:34 +01:00
Tobias Koppers 4f813e28a9 remove customizability of __webpack_require__ function name 2018-11-05 13:13:05 +01:00
Tobias Koppers a262b83580 remove globalPath and useChunkHash feature
It's no longer needed, because we hash the runtime how
2018-10-24 09:39:51 +02:00
Tobias Koppers 518104b3fb Merge tag 'v4.21.0' into next
4.21.0
2018-10-17 20:38:00 +02:00
Steven 2caeea0f4d
Add if statement 2018-10-01 07:52:43 -04:00
Steven 47a35a5f03 Make prettier 2018-09-29 20:18:26 -04:00
Steven a1fd3042a5 Refactor crossOriginLoading 2018-09-29 20:11:20 -04:00
Steven b939f617ac
Remove unused variable: $crossOriginLoading$ 2018-09-29 12:54:25 -04:00
Tobias Koppers 17044bf9c6 Merge tag 'v4.20.0' into next
4.20.0
2018-09-25 16:20:42 +02:00
Tobias Koppers d48975c948 use types from schema 2018-09-21 11:04:19 +02:00
Tobias Koppers 97ed999aad Merge tag 'v4.19.0' into next
4.19.0

* Separate context for renderBoostrap and hooks
* Remove ModuleTemplate from MainTemplate.bootstrap hook
2018-09-15 13:10:58 +02:00
Tobias Koppers 13b2cdd5ae hash content of bootstrap code
instead of trying to calculate it
from inputs

fixes #8027
fixes #7984
2018-09-13 23:25:26 +02:00
Florent Cailhol f75027475b Move HMR hotBoostrap hook 2018-09-07 14:14:10 +02:00
Tobias Koppers bad9d8a271 move Module.id into ChunkGraph
remove disconnect and unseal from Module
2018-08-28 15:08:52 +02:00
Tobias Koppers 4135c6e683 remove some unnecessary moduleGraph arguments and property accesses 2018-08-22 12:45:14 +02:00
Tobias Koppers 4dfe88edb0 add moduleGraph argument to comparators 2018-08-21 11:08:07 +02:00
Tobias Koppers a6e1c0693c add TODOs 2018-08-16 14:10:39 +02:00
Tobias Koppers 6d5310fbd6 allow multiple entryModules per chunk
allow to specify ChunkGroup to depend on
move entry modules into ChunkGraph
2018-08-15 11:51:16 +02:00
Tobias Koppers 3cf01999b5 add ChunkGraph
move chunk modules and module chunks into the ChunkGraph
remove outdated unit tests
2018-08-14 15:32:13 +02:00
Tobias Koppers 11e127d162 pass moduleGraph along with multiple methods 2018-08-02 17:54:42 +02:00
Tobias Koppers cf5f1d723c format existing code 2018-07-30 21:29:21 +02:00
Tobias Koppers 2b14ddc984 Merge tag 'v4.16.0' into next
4.16.0
2018-07-11 11:13:47 +02:00
Tobias Koppers 559cf94edb Simplify imports 2018-07-09 15:09:00 +02:00
Tobias Koppers 0c5433ce6f
Merge pull request #7673 from webpack/refactor/jsonp_hooks
Use JsonpMainTemplatePlugin.hooks instead of MainTemplate#hooks
2018-07-09 13:19:29 +02:00
Florent Cailhol c9bd29cdf5 Add type guard 2018-07-09 08:44:50 +02:00
Florent Cailhol 8e456f58ec Use JsonpMainTemplatePlugin.hooks instead of MainTemplate#hooks 2018-07-06 13:19:03 +02:00
Florent Cailhol 854bdafce4 Remove webpack.web.js and its deps 2018-07-06 11:48:19 +02:00
Tobias Koppers 5c4ffd5b90 fix tests and code 2018-06-28 11:11:24 +02:00
Tobias Koppers 6478fb9e2a Merge branch 'master' into crossorigin-attr 2018-06-28 10:27:45 +02:00
Tobias Koppers e38e076b98 fixes #7577 2018-06-26 17:19:37 +02:00
Ryan Tsao 2755a0e82b Remove redundant code after merge 2018-06-12 14:34:23 -07:00
Ryan Tsao 774c0b9d89 Merge branch 'master' into crossorigin-attr 2018-06-12 14:13:52 -07:00
Tobias Koppers ff224a7cee Merge branch 'master' into master 2018-06-07 17:47:04 +02:00
Tobias Koppers f28bb4e60e
add webpack 5 comment 2018-06-07 14:16:26 +02:00
Tobias Koppers 8e3be48da4 allow to disable wasm import mangle
disable it by default (temporary)
2018-06-05 23:49:02 +02:00