Skip to content

Commit b323082

Browse files
author
evilebottnawi
committed
fix: undefined when source map undefined
1 parent 05c36db commit b323082

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/loader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ module.exports = function(content, map) {
129129
// embed runtime
130130
callback(null, "exports = module.exports = require(" +
131131
loaderUtils.stringifyRequest(this, require.resolve("./css-base.js")) +
132-
")(" + query.sourceMap + ");\n" +
132+
")(" + sourceMap + ");\n" +
133133
"// imports\n" +
134134
importJs + "\n\n" +
135135
"// module\n" +

0 commit comments

Comments
 (0)