Commit Graph

29 Commits

Author SHA1 Message Date
alexander.akait be1d35eb02 fix(types): more 2024-03-18 18:50:56 +03:00
alexander.akait 9f63f7013a refactor: more types 2024-02-16 20:39:12 +03:00
alexander.akait 3295f6c36f chore(types): more 2024-01-26 19:17:45 +03:00
alexander.akait 413eb126dc fix: worklet detection in production mode 2024-01-23 17:42:10 +03:00
Nitin Kumar 412ae5425e chore: udpate prettier to v3 2024-01-14 07:11:34 +05:30
alexander.akait cff406cc54 refactor(types): more 2023-06-21 19:01:55 +03:00
alexander.akait e381884115 refactor(types): more 2023-06-21 19:00:24 +03:00
Alexander Akait 2a669ff061
Merge pull request #17212 from webpack/feat-support-custom-syntax
feat: introduce a new syntax for worklets - `*context.audioWorklet.addModule()`
2023-05-31 21:26:59 +03:00
alexander.akait e719e60340 refactor: types more 2023-05-22 03:03:05 +03:00
alexander.akait d2299c21eb refactor: rename symbol 2023-05-17 20:04:04 +03:00
alexander.akait 20c690025d feat: introduce a new syntax for worklets - `*context.audioWorklet.addModule()` 2023-05-17 19:59:51 +03:00
Sean Larkin fa4cbf11a1 add more module type constants, use them across codebase 2023-03-31 10:56:32 -07:00
Thomas Tay c188270d13
Merge branch 'webpack:main' into main 2023-01-25 12:06:59 -08:00
Tobias Koppers c18203c894 update tooling 2022-11-09 12:31:59 +01:00
Thomas Tay 895df2a5a1 Worker public path changes 2022-10-21 16:30:43 -07:00
Tobias Koppers 94852e07f7 allow to disable runtime chunk per entry via `runtime: false`
and also via `ModuleFederationPlugin`.`runtime`
2021-07-05 11:32:45 +02:00
Tobias Koppers 0a64c16a89 improve module support for WebWorkers 2021-06-28 12:30:25 +02:00
Tobias Koppers b0fa9ccada pretty files 2021-05-11 09:31:46 +02:00
Tobias Koppers 88da3f8ed2 normalize output.trustedTypes to an object 2021-05-10 10:34:21 +02:00
Tobias Koppers 869f9c8a8c use createScriptUrl only when needed 2021-05-10 09:58:27 +02:00
Bjarki cca01affef Make Worker transformation compatible with Trusted Types 2021-05-04 16:12:41 +02:00
Tobias Koppers 1ca93aaa6b Make auto-generated runtime name a hash instead of leaking pathinfo
Make auto-generated runtime name more stable by using index instead of source code location

fixes #12883
2021-04-30 11:28:04 +02:00
Tobias Koppers d500420688 fix duplicate new URL and spacing for worker dependencies
update worker example
2021-03-22 14:30:44 +01:00
Tobias Koppers 61cc65c58e improve parsing to handle non-literal options 2021-03-12 12:09:02 +01:00
Ingvar Stepanyan ea2cdeb834 Remove `type: 'module` from `new Worker` exprs
Fixes #12686.
2021-03-12 11:00:40 +01:00
Tobias Koppers 44b4e25b98 fixes for electron target
electron has `importScripts` in worker
only choose a chunkLoading which fits to the chunkFormat
prefer fetch wasm loading over node wasm loading
2021-02-15 17:19:08 +01:00
Tobias Koppers 9b054c5f1c use relative paths for the runtime name in worker entrypoints 2020-10-27 06:30:50 +01:00
Tobias Koppers c6a7db6537 allow to pass custom worker syntax 2020-09-25 11:11:09 +02:00
Tobias Koppers ed06a7f83a new Worker() support
add support for async anonymous entrypoints from inside the codebase
add worker example
move entry options into Entrypoint and receive them from there
2020-09-08 07:37:20 +02:00