-
Notifications
You must be signed in to change notification settings - Fork 12k
Error building localized app with webpack when subPath option is used #30247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
area: @angular-devkit/build-angular
devkit/build-angular:browser
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Comments
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
May 6, 2025
…pack browser builder The `subPath` option was not being properly applied when using the webpack-based browser builder. Closes angular#30247
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
May 6, 2025
…pack browser builder The `subPath` option was not being properly applied when using the webpack-based browser builder. Closes angular#30247
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
May 6, 2025
…pack browser builder The `subPath` option was not being properly applied when using the webpack-based browser builder. Closes angular#30247
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
May 6, 2025
…pack browser builder The `subPath` option was not being properly applied when using the webpack-based browser builder. Closes angular#30247
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
May 6, 2025
…pack browser builder The `subPath` option was not being properly applied when using the webpack-based browser builder. Closes angular#30247
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
May 6, 2025
…pack browser builder The `subPath` option was not being properly applied when using the webpack-based browser builder. Closes angular#30247
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
May 6, 2025
…pack browser builder The `subPath` option was not being properly applied when using the webpack-based browser builder. Closes angular#30247
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
May 6, 2025
…pack browser builder The `subPath` option was not being properly applied when using the webpack-based browser builder. Closes angular#30247
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
May 6, 2025
…pack browser builder The `subPath` option was not being properly applied when using the webpack-based browser builder. Closes angular#30247
alan-agius4
added a commit
that referenced
this issue
May 6, 2025
…pack browser builder The `subPath` option was not being properly applied when using the webpack-based browser builder. Closes #30247
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: @angular-devkit/build-angular
devkit/build-angular:browser
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Command
build
Is this a regression?
The previous version in which this bug was not present was
No response
Description
When I build a localized angular application with the "@angular-devkit/build-angular:browser" builder and a subPath configured I get the following error :
Localized bundle generation failed: ENOENT: no such file or directory, open 'C:\......\newAngular\dist\new-angular\en-US\polyfills.7758a3fdbccf54e6.js'
The error occurs with a newly generated angular app and only with a webpack builder. The esbuild builder works fine.
Here is the full angular.json :
Minimal Reproduction
Create an empty angular application with
ng new
.Set builder to
@angular-devkit/build-angular:browser
Add localization package with
ng add @angular/localize
Add i18n config in angular.json using the
subPath
option.Launch build with
ng build
Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: