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 860b660 commit 832073eCopy full SHA for 832073e
lib/loaders/pitcher.js
@@ -150,9 +150,14 @@ module.exports.pitch = function (remainingRequest) {
150
return typeof loader === 'string' ? loader : loader.request
151
})
152
.join('!')
153
- return `@import "${this.resourcePath}${
154
- query.lang ? `.${query.lang}` : ''
155
- }${this.resourceQuery}!=!-!${loaderString}!${this.resourcePath + this.resourceQuery}";`
+
+ const styleRequest = loaderUtils.stringifyRequest(
+ this,
156
+ `${this.resourcePath}${query.lang ? `.${query.lang}` : ''}${
157
+ this.resourceQuery
158
+ }!=!-!${loaderString}!${this.resourcePath + this.resourceQuery}`
159
+ )
160
+ return `@import ${styleRequest};`
161
}
162
163
const cssLoaderIndex = loaders.findIndex(isCSSLoader)
0 commit comments