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);
1717module . exports = function ( source ) {
1818 if ( this . cacheable ) this . cacheable ( ) ;
1919 // 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");
2121 if (module.hot) { require('${ require . resolve ( "./hotModuleReplacement.js" ) } '); }
2222 ${ source } ` ;
2323} ;
@@ -138,7 +138,7 @@ module.exports.pitch = function(request) {
138138/*__START_CSS__*/
139139var moduleId = ${ jsesc ( text [ 0 ] [ 0 ] , jsescOpts ) } ;
140140var css = ${ jsesc ( text [ 0 ] [ 1 ] , jsescOpts ) } ;
141- var addStyles = require("style-loader/addStyles.js");
141+ var addStyles = require("style-loader/lib/ addStyles.js");
142142addStyles([[moduleId, css]], "");
143143/*__END_CSS__*/
144144
Original file line number Diff line number Diff line change 3434 "jsesc" : " ^2.5.1" ,
3535 "loader-utils" : " ^1.0.2" ,
3636 "schema-utils" : " ^0.3.0" ,
37- "style-loader" : " ^0.16.1 " ,
37+ "style-loader" : " ^0.18.2 " ,
3838 "webpack-sources" : " ^1.0.1"
3939 },
4040 "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:
38393839 version "2.0.1"
38403840 resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
38413841
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 "
38453845 dependencies :
38463846 loader-utils "^1.0.2"
3847+ schema-utils "^0.3.0"
38473848
38483849supports-color@3.1.2 :
38493850 version "3.1.2"
You can’t perform that action at this time.
0 commit comments