You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
I run "npm run build" and i get main.bundle.js and main.map in dist folder. I thought I would have an index.html, ...
How can I put my project in production ?
( I'm beginner in angular2 and also npm )
The text was updated successfully, but these errors were encountered:
Just copy your index.html in dist folder and it should work. It might through error for base url in head tag.
I know it is not ideal solution but it should work.
Other way to handle this is to write a copy command in package.json 'script' object.
Hey guys just a heads up, my PR here: #158 fixes this issue and adds in an index.html generated during the build, and also updates Angular to a newer version as this repository is just a tad behind. Hopefully that can get merged in soon :)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi !
I run "npm run build" and i get main.bundle.js and main.map in dist folder. I thought I would have an index.html, ...
How can I put my project in production ?
( I'm beginner in angular2 and also npm )
The text was updated successfully, but these errors were encountered: