Commit Graph

24 Commits

Author SHA1 Message Date
alexander.akait 4809421990 refactor(types): more 2023-06-21 19:00:24 +03:00
alexander.akait 9894226149 refactor(types): more 2023-06-14 19:46:53 +03:00
alexander.akait 620c8d5fa4 refactor: more types 2023-05-24 22:37:58 +03:00
Tobias Koppers 38de0dbf4e allow to specify `publicPath` for each entrypoint 2021-04-14 16:38:01 +02:00
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