Closed
Description
Versions
Tested on:
1.6.3
1.6.5
Windows 10
Repro steps
-
npm install -G @angular/cli
-
cd to project with assets that need to be copied outside the project folder. From the .angular-cli.json:
"assets": [{
"input": "./assets/",
"glob": "**/*",
"output": "../EcView/WebContent/assets",
"allowOutsideOutDir": true
}], -
ng build
Observed behavior
Build failed:
>ng build
An asset cannot be written to a location outside the project.
Desired behavior
The build process copies the assets to the specified folder and completes the compilation of source code.
Other details
Seems similar to, possible regression of #8613