question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cli6rc4 allowOutsideOutDir not works

See original GitHub issue

Versions

Angular CLI: 6.0.0-rc.4
Angular*: 6.0.0-rc.5

Repro steps

“allowOutsideOutDir”:true still not works here (6rc4)?

in my architect.build.options i have:

"assets": [
{
  "glob": "favicon.ico",
  "input": "src",
  "output": "../",
  "allowOutsideOutDir":true
},
{
  "glob": "**/*",
  "input": "src/assets",
  "output": "../assets",
  "allowOutsideOutDir":true
}
]

Data path “.assets[0]” should NOT have additional properties(allowOutsideOutDir).

Mention any other details that might be useful (optional)

this issue https://github.com/angular/angular-cli/issues/10284 seems improve message error but not fix allowOutsideOutDir ?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
hanslcommented, Apr 23, 2018

Marking this as required for the release, but only a decision needs to be made.

1reaction
elvisbegoviccommented, Apr 16, 2018

Problems:

  • yes it breaks because all paths in my project linked to /assets folder were ../assets/images... instead ./assets /images... due to this option activated in v1.7.x but ok this can quickly be fixed with search/replace in my project
  • caching assets (styles, images, icons, fonts) once not for each language because they are exactly same
  • if application is different their code is not different, because we must today build multiple app for different language, due to current “i18n poor” functionality on angular.

I understand what you said but today I have 6mo /assets folder and it is in all my /{language} folder ! Big dammage, not you think so ?

edit

yes we can! relativly say it’s not related to cli but Angular itself to not support multiple locale in one bundle ! https://github.com/angular/angular/issues/16477 But can’t we let this option here until angular improve i18n? IMHO we should 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found