Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit ef0c714

Browse files
devversionhansl
authored andcommitted
chore(build): minify theme template for ng constant (#9455)
* Now minifies the theme css for the Angular constant. As discussed: - Now minifying the SCSS for the $MD_THEME_CSS constant. (new) - Not minifying the SCSS, when exporting a release build for bower-material. (currently) Fixes #9066.
1 parent 18afebe commit ef0c714

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gulp/util.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ function themeBuildStream() {
229229
.pipe(utils.hoistScssVariables())
230230
.pipe(sass())
231231
.pipe(dedupeCss())
232+
.pipe(minifyCss())
232233
.pipe(utils.cssToNgConstant('material.core', '$MD_THEME_CSS'));
233234
}
234235

0 commit comments

Comments
 (0)