We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 888c6e0 commit f60c06dCopy full SHA for f60c06d
lib/loader.js
@@ -168,7 +168,11 @@ module.exports = function (content) {
168
case 'script':
169
return injectString + ensureBang(ensureLoader(lang))
170
default:
171
- return ensureBang(loaders[type])
+ loader = loaders[type]
172
+ if (Array.isArray(loader)) {
173
+ loader = stringifyLoaders(loader)
174
+ }
175
+ return ensureBang(loader)
176
}
177
178
0 commit comments