We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4240e5b commit 43fdfaeCopy full SHA for 43fdfae
lib/codegen/styleInjection.js
@@ -91,6 +91,7 @@ module.exports = function genStyleInjectionCode (
91
const request = genStyleRequest(style, i)
92
styleInjectionCode += (
93
`var style${i} = require(${request})\n` +
94
+ `style${i} = style${i}.default || style${i}\n` +
95
`if (style${i}.__inject__) style${i}.__inject__(context)\n`
96
)
97
if (style.module) genCSSModulesCode(style, request, i)
0 commit comments