Commit Graph

20 Commits

Author SHA1 Message Date
Tobias Koppers 48571c663f add selective runtime requirements from startup logic which doesn't prevent inlining modules
avoid using startup function for grab data from preexecuted chunks
2020-12-11 14:36:48 +01:00
Tobias Koppers aa74705297 split auto publicPath into separate module 2020-09-18 10:13:31 +02:00
Tobias Koppers b5719c57e2 improve public path runtime module 2020-09-18 09:48:53 +02:00
Tobias Koppers c67e03abc7 move undo path to runtime module
fix escaping in output code
fix missing contentHashType
2020-09-18 09:10:10 +02:00
Ivan Kopeykin 49009486df support undo path 2020-09-16 23:20:44 +03:00
Ivan Kopeykin fad7712bba support output.importFunctionName 2020-09-15 21:03:05 +03:00
Ivan Kopeykin 580de0873a update publicPath
- support option output.publicPath="auto"
- add test cases
- render import.meta.url for output.scriptType="module"
2020-09-15 00:27:38 +03:00
Garrett Johnson c09ba8ce81 remove unneeded assignment 2020-08-18 09:37:22 -07:00
Garrett Johnson 8043085c6e log error instead of throwing error 2020-08-17 17:13:17 -07:00
Garrett Johnson 07cbfa0146 check if window exists 2020-08-05 11:17:33 -07:00
Garrett Johnson 0210a45f30 check if window.document exists 2020-08-05 10:58:17 -07:00
Garrett Johnson 71cc102af1 update error log 2020-08-02 20:54:17 -07:00
Garrett Johnson 94973fd240 access document through window 2020-08-02 20:49:48 -07:00
Garrett Johnson 6807bb6f6d remove untested branch 2020-08-02 20:47:45 -07:00
Garrett Johnson 50941e39c8 throw error in fallback case to inform users. 2020-08-02 17:36:44 -07:00
Garrett Johnson ed501824e2 Add logic for dynamically resolving script paths 2020-07-27 20:18:05 -07:00
Tobias Koppers 53f68c9e7b update deprecated usage of chunk and main templates 2019-10-08 23:46:33 +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
Florent Cailhol 84f9842d54 Add missing types 2019-05-10 09:56:01 +02:00
Tobias Koppers 2849281702 remove generateContext from RuntimeModule.generate
add public path runtime module
2018-11-29 16:13:26 +01:00