-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgenteffort1: easy (hours)freq2: mediumtype: bug/fixworkaround1: obvious
Description
Versions
Angular CLI: 1.5.0
Node: 8.8.1
OS: darwin x64
Angular: 4.4.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router, tsc-wrapped
@angular/cli: 1.5.0
@angular/material: 2.0.0-beta.7
@angular-devkit/build-optimizer: 0.0.32
@angular-devkit/core: 0.0.20
@angular-devkit/schematics: 0.0.35
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.0
@schematics/angular: 0.1.0
typescript-collections: 1.2.5
typescript: 2.4.2
webpack-bundle-analyzer: 2.9.0
webpack: 3.8.1
Repro steps
ng build --deploy-url=http://ermygod.cdn/folder
Inline assets work as expected from index.html, however lazy loaded assets do not load.
Vendor bundle
http://ermygod.cdn/folder/vendor.bundle.js
Lazy Loaded chunks do not load, they are missing trailing slash.
http://ermygod.cdn/folder0.chunk.js
ng build --deploy-url=http://ermygod.cdn/folder/
Both work as expected
Desired behavior
The trailing slash and non trailing slash should behave the same.
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgenteffort1: easy (hours)freq2: mediumtype: bug/fixworkaround1: obvious