Versions
Angular CLI: 1.5.4
Node: 6.11.2
OS: win32 x64 (Win10)
Angular: 4.4.6
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, platform-webworker
... platform-webworker-dynamic, router, tsc-wrapped
@angular/cdk: 2.0.0-beta.12
@angular/cli: 1.5.4
@angular/material: 2.0.0-beta.12
@angular-devkit/build-optimizer: 0.0.33
@angular-devkit/core: 0.0.21
@angular-devkit/schematics: 0.0.37
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.4
@schematics/angular: 0.1.7
typescript: 2.3.4
webpack: 3.8.1
Repro steps
- Set
apps[0].outDir as "../dist" on .angular-cli.json
- run
ng b
Observed behavior
Only a error message: An asset cannot be written to a location outside the project.
Desired behavior
Build the project without problem.
Mention any other details that might be useful (optional)
We have tried to add allowOutsideDir to ours assets configuration on cli config, but doesn't work. Is this the expected behaviour? I don't found related information about it in de64b86 or #8122 :(
Versions
Repro steps
apps[0].outDiras"../dist"on .angular-cli.jsonng bObserved behavior
Only a error message:
An asset cannot be written to a location outside the project.Desired behavior
Build the project without problem.
Mention any other details that might be useful (optional)
We have tried to add
allowOutsideDirto ours assets configuration on cli config, but doesn't work. Is this the expected behaviour? I don't found related information about it in de64b86 or #8122 :(