Skip to content

Commit eac5420

Browse files
extractCss is deprecated and true by default
See: angular/angular-cli@dd26018
1 parent bab34c7 commit eac5420

2 files changed

Lines changed: 0 additions & 2 deletions

File tree

src/application/index.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ describe('Application Schematic', () => {
6565
const prj = config.projects.foo;
6666
const buildOpt = prj.architect.build.options;
6767
expect(buildOpt.buildOptimizer).toBeTrue();
68-
expect(buildOpt.extractCss).toBeTrue();
6968
expect(buildOpt.extractLicenses).toBeTrue();
7069
expect(buildOpt.optimization).toBeTrue();
7170
expect(buildOpt.statsJson).toBeTrue();

src/application/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ function addBuildOptions(project: ProjectDefinition) {
100100
throw new SchematicsException("Expected build options to be defined");
101101
}
102102
buildTarget.options['buildOptimizer'] = true;
103-
buildTarget.options['extractCss'] = true;
104103
buildTarget.options['extractLicenses'] = true;
105104
buildTarget.options['optimization'] = true;
106105
buildTarget.options['statsJson'] = true;

0 commit comments

Comments
 (0)