-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix production build issue related to incorrect polyfills #33
Comments
To try:
|
Disabling uglify does not remove the error, but makes the message clearer:
|
Moving the imports from angular-fullstack/generator-angular-fullstack#2770 (comment)
SolutionIn Before:
Now:
Here is what I have included at the top of
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The production portal is built and run using:
Issue
Chrome shows the following issue in the console when accessing
http://54.184.40.13:8080
:It seems that the issue stem from the polyfills being incorrectly set for the JS files used by the front end client (mainly Typescript,
.ts
files). One cause of the issue could be the result of upgrading to @babel, updating core-js and other related dependencies. Currently using @babel and [email protected], which is used by default by @babel. [email protected] has been released a few days ago but an initial attempt to use it didn't solve the issue, so I prefer to only change one thing at a time.The text was updated successfully, but these errors were encountered: