File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ var NS = fs.realpathSync(__dirname);
17
17
module . exports = function ( source ) {
18
18
if ( this . cacheable ) this . cacheable ( ) ;
19
19
// Even though this gets overwritten if extract+remove are true, without it, the runtime doesn't get added to the chunk
20
- return `require("style-loader/addStyles.js");
20
+ return `require("style-loader/lib/ addStyles.js");
21
21
if (module.hot) { require('${ require . resolve ( "./hotModuleReplacement.js" ) } '); }
22
22
${ source } ` ;
23
23
} ;
@@ -138,7 +138,7 @@ module.exports.pitch = function(request) {
138
138
/*__START_CSS__*/
139
139
var moduleId = ${ jsesc ( text [ 0 ] [ 0 ] , jsescOpts ) } ;
140
140
var css = ${ jsesc ( text [ 0 ] [ 1 ] , jsescOpts ) } ;
141
- var addStyles = require("style-loader/addStyles.js");
141
+ var addStyles = require("style-loader/lib/ addStyles.js");
142
142
addStyles([[moduleId, css]], "");
143
143
/*__END_CSS__*/
144
144
Original file line number Diff line number Diff line change 34
34
"jsesc" : " ^2.5.1" ,
35
35
"loader-utils" : " ^1.0.2" ,
36
36
"schema-utils" : " ^0.3.0" ,
37
- "style-loader" : " ^0.16.1 " ,
37
+ "style-loader" : " ^0.18.2 " ,
38
38
"webpack-sources" : " ^1.0.1"
39
39
},
40
40
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -3839,11 +3839,12 @@ strip-json-comments@2.0.1, strip-json-comments@~2.0.1:
3839
3839
version "2.0.1"
3840
3840
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
3841
3841
3842
- style-loader@^0.16.1 :
3843
- version "0.16.1 "
3844
- resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.16.1 .tgz#50e325258d4e78421dd9680636b41e8661595d10 "
3842
+ style-loader@^0.18.2 :
3843
+ version "0.18.2 "
3844
+ resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.18.2 .tgz#cc31459afbcd6d80b7220ee54b291a9fd66ff5eb "
3845
3845
dependencies :
3846
3846
loader-utils "^1.0.2"
3847
+ schema-utils "^0.3.0"
3847
3848
3848
3849
supports-color@3.1.2 :
3849
3850
version "3.1.2"
You can’t perform that action at this time.
0 commit comments