Tobias Koppers
709e3f1788
remove unused code
2020-08-19 15:08:34 +02:00
Ivan Kopeykin
4fc44a3398
add more types
2020-08-02 23:47:54 +03:00
Tobias Koppers
115aa13577
improve compat for MainTemplate jsonp hooks
...
improve compat for MainTemplate runtime hooks
fixes #10826
2020-07-03 09:44:55 +02:00
Tobias Koppers
020cedf383
remove weird types
...
remove SKIP_OVER_NAME
update tooling for fixed "to not edit" comments
2020-05-12 15:58:43 +02:00
Nathan Shively-Sanders
362514c10b
fix 4.0 build errors
2020-05-12 14:37:09 +02:00
Mohsen Azimi
7b07a8db66
Upgrade to Prettier 2
2020-03-28 18:20:24 -04:00
evilebottnawi
dafa4cd69a
chore: setup cspell
2020-03-12 19:51:26 +03:00
evilebottnawi
8198ffb3e6
refactor: code
2019-10-22 00:14:05 +02:00
Tobias Koppers
3f0920daa4
add additional compat layer for html-webpack-plugin compatibility
2019-10-10 13:48:56 +02:00
Tobias Koppers
97079ba9a3
add more compat hooks to MainTemplate
2019-10-09 13:26:00 +02:00
Tobias Koppers
b7ad2b368c
remove renderWithEntry hook and add render hook
2019-10-09 11:55:56 +02:00
Tobias Koppers
69a545c444
Deprecate MainTemplate, ChunkTemplate, ModuleTemplate
...
move logic and hooks to JavascriptModulesPlugin
2019-10-08 23:46:26 +02:00
Tobias Koppers
f45ba2408e
remove items from runtime when unneeded
...
remove some hooks from MainTemplate, move some hooks to CompatRuntimeModule
add requireScope RuntimeGlobal
2019-10-08 23:46:23 +02:00
Tobias Koppers
b80174a069
Improve backward-compat for various things
...
to enable mini-css-extract-plugin
2019-09-26 22:06:54 +02:00
Tobias Koppers
7bde43f47a
Merge tag 'v4.40.0' into next
...
4.40.0
2019-09-13 11:12:26 +02:00
Tobias Koppers
758269e814
add emit/updateAsset to Compilation
...
add asset info with
* immutable for long term cache-able asset
* size for the asset size in bytes
* development for devtools
* hotModuleReplacement for HMR assets
show asset info in stats
2019-09-11 14:43:42 +02:00
Tobias Koppers
e507392094
add output.ecmaVersion options to set emitted code style
...
fix a bug with prefetching initial chunks
InitFragments have get[End]Content methods which get a sourceContext
RuntimeModules have implicit chunk and compilation
changed default to `output.ecmaVersion: 2015`
2019-08-26 21:32:29 +02:00
Tobias Koppers
1d72a05fed
Merge tag 'v4.36.0' into next
...
4.36.0
2019-07-17 16:02:33 +02:00
Tobias Koppers
6db94536ad
Merge tag 'v4.34.0' into next
...
4.34.0
2019-06-13 10:51:12 +02:00
Tobias Koppers
fd4b3c503a
pretty files
2019-06-09 11:23:42 +02:00
Tobias Koppers
b6090b6943
delay prefetching until all initial code is evaluated
...
add test case
fix bug in Chunk.getChildIdsByOrdersMap
2019-05-10 23:10:32 +02:00
Florent Cailhol
b12f24d20c
Update hook types
2019-05-10 09:52:22 +02: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
Tobias Koppers
4bc36e80f6
replace context with var
2018-11-30 12:16:38 +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
f753f92c28
ensureChunk to RuntimeModule
...
step 1: non HMR cases
2018-11-29 16:16:39 +01:00
Tobias Koppers
2849281702
remove generateContext from RuntimeModule.generate
...
add public path runtime module
2018-11-29 16:13:26 +01:00
Tobias Koppers
540b9a1c35
remove hasOwnProperty global
2018-11-29 16:12:52 +01:00
Tobias Koppers
b6d4ece8e8
Runtime Module for compatGetDefaultExport
2018-11-29 16:12:21 +01:00
Tobias Koppers
8803f52ce2
Runtime Module for CreateFakeNamespaceObject
2018-11-29 16:11:44 +01:00
Tobias Koppers
dcbd67fdfe
Runtime Module for MakeNamespaceObject
2018-11-29 16:11:11 +01:00
Tobias Koppers
0500655b63
move runtime modules boostrap into RuntimePlugin
2018-11-29 16:10:35 +01:00
Tobias Koppers
458baa33d4
runtime requirement for RuntimeGlobals.entryModuleId
2018-11-29 16:10:02 +01:00
Tobias Koppers
40dce1fe21
runtime requirement for RuntimeGlobals.moduleCache
2018-11-29 16:09:24 +01:00
Tobias Koppers
bf1fc171ba
runtime requirement for RuntimeGlobals.moduleFactories
2018-11-29 16:08:52 +01:00
Tobias Koppers
32c3fca477
extract definePropertyGetter into RuntimeModule
2018-11-29 16:08:17 +01:00
Tobias Koppers
0232674f9c
Initial runtime module work
2018-11-29 16:03:32 +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
Florent Cailhol
84c915b191
Add hook types for templates
2018-11-02 15:40:13 +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
Tobias Koppers
9da00cdb42
fixes #8110
2018-10-02 14:52:52 +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