Closed
Description
- OS? Windows 10
- Versions. 1.0.0-beta.1
3.Created a sample app using angular cli and created a service under shared folder.
Run ng build -prod
Run ng serve -prod
Get error
"Error loading http://localhost:4200/app/shared/index.js as "./app/shared" from http://localhost:4200/main.js ; Zone: ; Task: Promise.then ; Value: Error: Error: XHR error (404 Not Found) loading http://localhost:4200/app/shared/index.js(…)"
- Not happening in dev build/
Metadata
Metadata
Assignees
Labels
No labels