File tree Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -1012,28 +1012,6 @@ class Encore {
1012
1012
return this ;
1013
1013
}
1014
1014
1015
- /**
1016
- * Configure the style-loader.
1017
- * The style-loader is used only if you also call Encore. disableCssExtraction().
1018
- *
1019
- * https://github.com/webpack-contrib/style-loader#options
1020
- *
1021
- * ```
1022
- * Encore.configureStyleLoader(function(config) {
1023
- * // change the config
1024
- * // config.injectType = 'singletonStyleTag';
1025
- * });
1026
- * ```
1027
- *
1028
- * @param {function } callback
1029
- * @returns {Encore }
1030
- */
1031
- configureStyleLoader ( callback ) {
1032
- webpackConfig . configureStyleLoader ( callback ) ;
1033
-
1034
- return this ;
1035
- }
1036
-
1037
1015
/**
1038
1016
* If enabled, the react preset is added to Babel.
1039
1017
*
@@ -1316,6 +1294,28 @@ class Encore {
1316
1294
return this ;
1317
1295
}
1318
1296
1297
+ /**
1298
+ * Configure the style-loader.
1299
+ * The style-loader is used only if you also call Encore. disableCssExtraction().
1300
+ *
1301
+ * https://github.com/webpack-contrib/style-loader#options
1302
+ *
1303
+ * ```
1304
+ * Encore.configureStyleLoader(function(config) {
1305
+ * // change the config
1306
+ * // config.injectType = 'singletonStyleTag';
1307
+ * });
1308
+ * ```
1309
+ *
1310
+ * @param {function } callback
1311
+ * @returns {Encore }
1312
+ */
1313
+ configureStyleLoader ( callback ) {
1314
+ webpackConfig . configureStyleLoader ( callback ) ;
1315
+
1316
+ return this ;
1317
+ }
1318
+
1319
1319
/**
1320
1320
* Call this to change how the name of each output
1321
1321
* file is generated.
You can’t perform that action at this time.
0 commit comments