Angular-cli: Generating multiple style files

Created on 4 Jan 2017  路  7Comments  路  Source: angular/angular-cli

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!

All 7 comments

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).

Same issue here...

Dear @filipesilva!

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

Best wishes,
Attila

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.

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._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MateenKadwaikar picture MateenKadwaikar  路  3Comments

gotschmarcel picture gotschmarcel  路  3Comments

rwillmer picture rwillmer  路  3Comments

hartjo picture hartjo  路  3Comments

NCC1701M picture NCC1701M  路  3Comments