8000
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.
undefined
1 parent d999f4a commit 0dccfa9Copy full SHA for 0dccfa9
lib/loader.js
@@ -110,7 +110,7 @@ module.exports = function(content, map) {
110
}
111
112
var moduleJs;
113
- if(query.sourceMap && result.map) {
+ if(sourceMap && result.map) {
114
// add a SourceMap
115
map = result.map;
116
if(map.sources) {
@@ -129,7 +129,7 @@ module.exports = function(content, map) {
129
// embed runtime
130
callback(null, "exports = module.exports = require(" +
131
loaderUtils.stringifyRequest(this, require.resolve("./css-base.js")) +
132
- ")(" + query.sourceMap + ");\n" +
+ ")(" + sourceMap + ");\n" +
133
"// imports\n" +
134
importJs + "\n\n" +
135
"// module\n" +
0 commit comments