-
Notifications
You must be signed in to change notification settings - Fork 12k
why there is no js file after using "ng build --prod‘’ in my dist? #2759
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
Duplicate of: You'll want to move to the latest beta.17 w/ webpack and off of the old Broccoli based beta.10 build. Instructions for this migration are here: https://github.com/angular/angular-cli/wiki/Upgrading-from-Beta.10-to-Beta.14 |
Thanks for your help! In my app.module.ts file: In my components: So,what should I do? Can you help me? @Splaktar |
Ok! |
@ElanMu you should follow these instructions: https://github.com/salemdar/angular2-cookie#-usage. The angular2-cookie instructions for angular-cli are all out of date and can be ignored. There is an issue to improve those docs here: salemdar/angular2-cookie#22 |
OK, I'll look at it, thank you. |
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. |
OS?
Versions.
Repro steps.
The log given by the failure.
It's builded successfully,but there is no js file in my dis file!
Mention any other details that might be useful.
"environments": {
"source": "config/environment.ts",
"dev": "config/environment.ts",
"prod": "config/environment.prod.ts"
}
but after " ng build --prod", there is only css and html file and the "app/share/index.ts" is not exist in "dist/app/share"?
The text was updated successfully, but these errors were encountered: