angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Generating multiple style files

Open fuitattila opened this issue 9 years ago • 7 comments

Please provide us with the following information:

OS?

Windows 10.

Versions.

angular-cli: 1.0.0-beta.24 node: 5.11.0 os: win32 ia32 @angular/common: 2.4.1 @angular/compiler: 2.4.1 @angular/core: 2.4.1 @angular/forms: 2.4.1 @angular/http: 2.4.1 @angular/platform-browser: 2.4.1 @angular/platform-browser-dynamic: 2.4.1 @angular/router: 3.4.1 @angular/compiler-cli: 2.4.1

Question, feature


Hi, Is there a way to generate multiple style files (during build process)? It is required beacause we have a normal stlye and a WAI style. We must them seperate because size limits. Currently I see that there is only one file generated after ng serve or build.

This thread doesn't helps for me: #2722

Thank you for your help!

fuitattila avatar Jan 04 '17 14:01 fuitattila

I just came to say hello

I have the same problem, and it really blocks our refactoring process (we just started using the cli instead of npm-gulp-bower-etc building to reach greater page load time with aot).

jasonkrot avatar Jan 04 '17 14:01 jasonkrot

https://github.com/angular/angular-cli/issues/3401 this should suit your usecase.

filipesilva avatar Jan 04 '17 14:01 filipesilva

Same issue here...

eredessil avatar Jan 04 '17 14:01 eredessil

Dear @filipesilva!

Thank you for your quick response! I tried it and that works perfectly!

Best wishes, Attila

fuitattila avatar Jan 04 '17 14:01 fuitattila

thank you very much https://www.youtube.com/watch?v=ax02yrBqpa0

jasonkrot avatar Jan 04 '17 16:01 jasonkrot

Glad to hear that was what you needed! Let me know if you have any problem with it, it's not documented so not a lot of people are using it.

filipesilva avatar Jan 04 '17 16:01 filipesilva

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.