-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
Command
build, serve
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
webpack builder
Description
Hi.
Angular compiles invalid path to worker, so worker can't start. This is the compiled code:
const worker = new Worker(new URL("/@fs/C:/worker-UXGOV42A.js?type=module&worker_file", self.location), {
type: "module"
});
Minimal Reproduction
https://github.com/zip-fa/ng17-web-worker-bug
Exception or Error
No response
Your Environment
Angular CLI: 17.0.0-rc.2
Node: 18.18.1
Package Manager: npm 9.8.1
OS: win32 x64
Angular: 17.0.0-rc.1
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1700.0-rc.2
@angular-devkit/build-angular 17.0.0-rc.2
@angular-devkit/core 17.0.0-rc.2
@angular-devkit/schematics 17.0.0-rc.2
@angular/cli 17.0.0-rc.2
@schematics/angular 17.0.0-rc.2
rxjs 7.8.1
typescript 5.2.2
zone.js 0.14.1
Anything else relevant?
No response
Metadata
Metadata
Assignees
Labels
No labels