Skip to content

Commit

Permalink
test: source maps and contenthash (#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Aug 21, 2020
1 parent fb5c53d commit 13f236d
Show file tree
Hide file tree
Showing 6 changed files with 396 additions and 441 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"less-loader": "^6.2.0",
"lint-staged": "^10.2.11",
"memfs": "^3.2.0",
"mini-css-extract-plugin": "^0.9.0",
"mini-css-extract-plugin": "^0.10.0",
"npm-run-all": "^4.1.5",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.7.0",
Expand All @@ -91,7 +91,7 @@
"stylus": "^0.54.8",
"stylus-loader": "^3.0.2",
"url-loader": "^4.1.0",
"webpack": "^4.44.0"
"webpack": "^4.44.1"
},
"keywords": [
"webpack",
Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ function normalizeSourceMapForRuntime(map, loaderContext) {
path.relative(loaderContext.rootContext, absoluteSource)
);

return `webpack:///${contextifyPath}`;
return `webpack://${contextifyPath}`;
});
}

Expand Down
Loading

0 comments on commit 13f236d

Please sign in to comment.