Skip to content

Commit 232fe2b

Browse files
author
Patrick Taddey
committed
comments of the StyleLoader function changed
1 parent 0d015b2 commit 232fe2b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,13 +1014,14 @@ class Encore {
10141014

10151015
/**
10161016
* Configure the style-loader.
1017+
* The style-loader is used only if you also call Encore. disableCssExtraction().
10171018
*
1018-
* https://github.com/webpack-contrib/style-loader#Options
1019+
* https://github.com/webpack-contrib/style-loader#options
10191020
*
10201021
* ```
10211022
* Encore.configureStyleLoader(function(config) {
10221023
* // change the config
1023-
* // config.injectType = 'styleTag';
1024+
* // config.injectType = 'singletonStyleTag';
10241025
* });
10251026
* ```
10261027
*

0 commit comments

Comments
 (0)