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
c5f94f3b6a
don't emit and load JS files for chunks without JS modules
...
allow custom module types in rules
allow configCases to access stats
2019-05-22 13:12:15 +02:00
Steven Hargrove
b9f52dcb4d
hoist option logic, reduce code paths in handler
2019-01-04 12:40:17 -05: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
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
Florent Cailhol
8a10ea3c92
Type 'apply' method of plugins
2018-11-12 14:26:31 +01:00
Tobias Koppers
cf5f1d723c
format existing code
2018-07-30 21:29:21 +02:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
Florent Cailhol
7dd41b55c6
Replace deprecated Tapable#apply by Plugin#apply
2017-12-20 11:53:56 +01:00
Florent Cailhol
36c690d37f
Use tapable instead of 'plugin'
2017-12-08 14:23:31 +01:00
Oleg Pimenov
6b2c35c533
refactor(plugins): upgrade to ES6 NodeChunkTemplatePlugin & NodeTemplatePlugin ( #3792 )
2017-01-07 10:06:08 -06:00
Tobias Koppers
b296e5a08c
use options object for NodeTemplatePlugin
2015-11-20 08:38:15 +01:00
Tobias Koppers
cebd3b9722
added linting
2015-04-23 23:55:50 +02:00
Tobias Koppers
5264f69ddf
refactored HotChunkUpdateTemplate to plugin interface
2014-06-03 00:14:46 +02:00
Tobias Koppers
a0394a061b
refactored ChunkTemplate with plugin interface
2014-06-02 23:40:50 +02:00
Tobias Koppers
3247725ba3
refactored MainTemplate to plugin interface
2014-06-02 21:23:53 +02:00
Tobias Koppers
bea08dc1a2
added node-webkit target (experimental)
...
added option to provide no target
added defaults for node-webkit
allow browsertests to run in node-webkit
2014-04-09 09:12:04 +02:00
Tobias Koppers
81203a3a1c
added node.js HMR,
...
fixed #137 : exports correct require properties on hotRequire too
added more test combinations
2013-12-17 00:56:43 +01:00
Tobias Koppers
b0f5575c57
added async chunk loading for node.js build
2013-12-15 23:08:11 +01:00
Tobias Koppers
bd805ec293
fixed naming
2013-03-01 09:44:58 +01:00
Tobias Koppers
3dc62749a2
moved webworker template, added node.js template #57
2013-02-13 17:00:07 +01:00