-
Notifications
You must be signed in to change notification settings - Fork 12k
Error while using typescript 3.8 export aliases #17231
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
Comments
In your project, the |
Looks like it's Webpack itself that has to support this syntax so that it can work its magic: webpack/webpack#10460 |
Setting the
|
Is there a workaround for this? |
Habing same issue as author, setting the module flag as |
Any news yet on this? |
This should be fixed in Webpack 5 (webpack/webpack#11117), which is currently in opt-in preview in Angular CLI 11. See #18820 for more information on how to opt-in Webpack 5. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 bug report
Description
Using typescript 3.8 export aliases produces an error while building.
Happens with ivy enabled as well as disabled.
🔬 Minimal Reproduction
npm i
ng serve
🔥 Exception or Error
🌍 Your Environment
Angular CLI: 9.1.0-next.3
Node: 12.13.0
OS: win32 x64
Angular: 9.1.0-next.4
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes
Package Version
@angular-devkit/architect 0.901.0-next.3
@angular-devkit/build-angular 0.901.0-next.3
@angular-devkit/build-optimizer 0.901.0-next.3
@angular-devkit/build-webpack 0.901.0-next.3
@angular-devkit/core 9.1.0-next.3
@angular-devkit/schematics 9.1.0-next.3
@angular/cli 9.1.0-next.3
@ngtools/webpack 9.1.0-next.3
@schematics/angular 9.1.0-next.3
@schematics/update 0.901.0-next.3
rxjs 6.5.4
typescript 3.8.3
webpack 4.42.0
The text was updated successfully, but these errors were encountered: