-
Notifications
You must be signed in to change notification settings - Fork 12k
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
cli6rc4 allowOutsideOutDir not works #10350
Comments
We did remove the Can you tell me about your use case please? You seem to be outputing all assets outside the output dir for the project. |
Yes correct i have multiple language. So /assets folder is same for all language and without output my assets outside each language make them exist everywhere /fr This option was discussed and was added by @hansl itselft as option to cover usecase (see closed issues) i don’t see how can I here have this behavior without it. Thanks |
What's the problem in having assets inside each folder though? Does it break something? If they are different applications (their source code is different) then they should have their own assets. I agree it is a bit wasteful to have the exact same files in each folders but they are for all intents and purposes different applications. |
Problems:
I understand what you said but today I have 6mo edityes we can! relativly say it's not related to cli but Angular itself to not support multiple locale in one bundle ! angular/angular#16477 |
@filipesilva My use case is a little bit different. We always serve content from the server to the client from the root folder (dist). Say I have 2 applications that share assets. So in And previously I had different assets configuration for serve and build. In serve I don't need the assets to be outside of dir but in build yes. I achieved this by having multiple apps for the same app |
Marking this as required for the release, but only a decision needs to be made. |
I have a multi-locale application as well, and my use case is this:
@filipesilva @hansl am I doing things wrong with how CLI is supposed to work now? |
Are there any updates? |
My use case FWIW: I maintain 4 (and more to come) Angular apps inside a large project with JSON assets that contain localization strings. These JSON assets are exported from a C# API server, and are consumed by my apps along with other legacy applications that need to read the same strings. It doesn't make sense then to store those assets inside my CLI project. Without the convenience of |
Closing this option was removed on purpose and writing outside might potentially causes problems when deploying such as when using |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Repro steps
"allowOutsideOutDir":true still not works here (6rc4)?
in my architect.build.options i have:
Mention any other details that might be useful (optional)
this issue #10284 seems improve message error but not fix allowOutsideOutDir ?
The text was updated successfully, but these errors were encountered: