Skip to content

v6rc3 allowOutsideOutDir and differents assets[] config for serve and build #10284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
elvisbegovic opened this issue Apr 11, 2018 · 2 comments
Closed

Comments

@elvisbegovic
Copy link
Contributor

elvisbegovic commented Apr 11, 2018

Versions

Angular CLI: 6.0.0-rc.3
Node: 8.11.1
OS: win32 x64
Angular: 6.0.0-rc.3
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cdk: 6.0.0-rc.1
@angular/material: 6.0.0-rc.1
@angular-devkit/architect: 0.5.5
@angular-devkit/build-angular: 0.5.5
@angular-devkit/build-optimizer: 0.5.5
@angular-devkit/core: 0.5.5
@angular-devkit/schematics: 0.5.5
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 6.0.0-rc.3
@schematics/angular: 0.5.5
@schematics/update: 0.5.5
typescript: 2.7.2
webpack: 4.5.0

Observed behavior

my option in old angular-cli.json file on assets[] "allowOutsideOutDir":true not working

In old file I had two apps with different assets configuration and for ng serve I select appA and for ng build I select appB

this is my new angular.json I tried to add two different assets configuration in in my projects.iii.architect{} build and serve:
https://gist.github.com/istiti/5ce4aa0ac45d0be06c79f417b59a6281

I get:
image

What is problem ? thanks

ps: my old config https://gist.github.com/istiti/d702f613bd4ec4cb71f5ea131cbd579a

and I was running them using :
node --max-old-space-size=8192 ./node_modules/@angular/cli/bin/ng build --prod --app=prod --output-path dist/fr --locale fr --bh /fr/ --i18n-format xtb --i18n-file src/locale/fr.xtb

@hansl hansl added the 6.0.0-rc label Apr 11, 2018
@hansl
Copy link
Contributor

hansl commented Apr 11, 2018

Fixed in #10245.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants