Skip to content
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

require gets removed in build --prod #34

Open
mattiLeBlanc opened this issue Jul 6, 2018 · 0 comments
Open

require gets removed in build --prod #34

mattiLeBlanc opened this issue Jul 6, 2018 · 0 comments

Comments

@mattiLeBlanc
Copy link

mattiLeBlanc commented Jul 6, 2018

Hi,

I am using require to load the XLF file like you guys do. However, when I build my project with --prod, the webpack code seems to get removed and the translation fails.
Did you run into this issue?

My solution can be found here:
angular/angular#24549 (comment)

Edit: Running with --prod --aot=false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant