We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9700574 commit f1805dfCopy full SHA for f1805df
index.js
@@ -1302,8 +1302,8 @@ class Encore {
1302
*
1303
* @returns {Encore}
1304
*/
1305
- disableCssExtraction() {
1306
- webpackConfig.disableCssExtraction();
+ disableCssExtraction(enabled = true) {
+ webpackConfig.disableCssExtraction(enabled);
1307
1308
return this;
1309
}
lib/WebpackConfig.js
@@ -810,8 +810,8 @@ class WebpackConfig {
810
this.useFontsLoader = false;
811
812
813
814
- this.extractCss = false;
+ this.extractCss = !enabled;
815
816
817
configureFilenames(configuredFilenames = {}) {
0 commit comments