-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
- [x] bug report
- [ ] feature request
Versions.
@angular/cli: 1.0.0
node: 7.5.0
os: darwin x64
@angular/animations: 4.0.0
@angular/common: 4.0.0
@angular/compiler: 4.0.0
@angular/compiler-cli: 4.0.0
@angular/core: 4.0.0
@angular/flex-layout: 2.0.0-rc.1
@angular/forms: 4.0.0
@angular/http: 4.0.0
@angular/material: 2.0.0-beta.2
@angular/platform-browser: 4.0.0
@angular/platform-browser-dynamic: 4.0.0
@angular/platform-server: 4.0.0
@angular/router: 4.0.0
@angular/cli: 1.0.0
Repro steps.
from .angular-cli.json
"outDir": "../../public/assets",
"deployUrl": "./assets",
somewhere in the routing module:
{path: 'home', loadChildren: './home/home.module#HomeModule'}
So my initially loaded sources are available as http://localhost:4200/assets/main.bundle.js
(it works well)
Desired functionality.
I want all lazy loaded modules to be available as http://localhost:4200/assets/assets1.chunk.js
, but now they are loaded as http://localhost:4200/assets1.chunk.js
(it misses /assets/
folding)