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 e41797a commit 9192f48Copy full SHA for 9192f48
1 file changed
test/configCases/css/import/remove-source-map-url-loader.js
@@ -1,4 +1,4 @@
1
/** @type {import("../../../../").LoaderDefinition} */
2
module.exports = function loader(content) {
3
- return content.replace(/\/[*/]\s*sourceMappingURL=.+(\*\/)?/g, "");
+ return content.replace(/\/[*/][#]?\s*sourceMappingURL=.+(\*\/)?/g, "");
4
};
0 commit comments