-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Milestone
Description
ng serve --extract-css
seems to be not working anymore with the new version 6 of angular-cli.
ng build--extract-css
works without a problem, so why isn't the option available with serve as well?
Versions
Angular CLI: 6.0.0-rc.7
Node: 10.0.0
OS: win32 x64
Angular: 6.0.0-rc.6
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.5.10
@angular-devkit/build-angular 0.5.10
@angular-devkit/build-optimizer 0.5.10
@angular-devkit/core 0.5.10
@angular-devkit/schematics 0.5.10
@angular/cli 6.0.0-rc.7
@ngtools/json-schema 1.1.0
@ngtools/webpack 6.0.0-rc.8
@schematics/angular 0.5.10
@schematics/update 0.5.10
rxjs 6.0.0
typescript 2.7.2
webpack 4.6.0
Repro steps
simply run ng serve --extract-css
and it does not work.
Observed behavior
> ng serve --extract-css
Unknown option: '--extractCss'
Desired behavior
ng serve
should accept the --extract-css
option as it did back with 1.7.4.
ryanbuening, cory-gottschalk, mischah, xC0der, viceice and 5 more