File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,14 @@ module.exports.pitch = function (remainingRequest) {
1717 var addStylesClientPath = loaderUtils . stringifyRequest ( this , '!' + path . join ( __dirname , 'lib/addStylesClient.js' ) )
1818 var addStylesServerPath = loaderUtils . stringifyRequest ( this , '!' + path . join ( __dirname , 'lib/addStylesServer.js' ) )
1919
20- var isVue = / \. v u e $ / . test ( remainingRequest )
2120 var request = loaderUtils . stringifyRequest ( this , '!!' + remainingRequest )
2221 var id = JSON . stringify ( hash ( request ) )
2322
23+ // direct css import from js --> direct (how does this work when inside an async chunk? ...just don't do it)
24+ // css import from vue file --> component lifecycle linked
25+ // style embedded in vue file --> component lifecycle linked
26+ var isVue = / " v u e " : t r u e / . test ( remainingRequest )
27+
2428 var shared = [
2529 '// style-loader: Adds some css to the DOM by adding a <style> tag' ,
2630 '' ,
You can’t perform that action at this time.
0 commit comments