mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-20 05:24:57 +08:00
When using the esbuild-based builders (application/browser-esbuild), Web Workers following the previously supported syntax as used in the Webpack-based builder will now be discovered. The worker entry points are not yet bundled or otherwise processed. Currently, a warning will be issued to notify that the worker will not be present in the built output. Additional upcoming changes will add the processing and bundling support for the workers. Web Worker syntax example: `new Worker(new URL('./my-worker-file', import.meta.url), { type: 'module' });`