Skip to content

Commit

Permalink
fix: undefined when source map undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi committed Dec 7, 2017
1 parent 05c36db commit b323082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/loader.js
Expand Up @@ -129,7 +129,7 @@ module.exports = function(content, map) {
// embed runtime
callback(null, "exports = module.exports = require(" +
loaderUtils.stringifyRequest(this, require.resolve("./css-base.js")) +
")(" + query.sourceMap + ");\n" +
")(" + sourceMap + ");\n" +
"// imports\n" +
importJs + "\n\n" +
"// module\n" +
Expand Down

0 comments on commit b323082

Please sign in to comment.