We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62229f5 commit 5b42e39Copy full SHA for 5b42e39
1 file changed
test/RecordIdsPlugin.test.js
@@ -9,9 +9,13 @@ const RecordIdsPlugin = require("../lib/RecordIdsPlugin");
9
10
function makeRelative(compiler, identifier) {
11
const context = compiler.context;
12
- return identifier.split("|").map((str) =>
13
- str.split("!")
14
- .map((str) => path.relative(context, str)).join("!")).join("|");
+ return identifier.split("|")
+ .map(str => str.split("!")
+ .map(str => str.split(" ")
15
+ .map(str => path.relative(context, str))
16
+ .join(" "))
17
+ .join("!"))
18
+ .join("|");
19
}
20
21
describe("RecordIdsPlugin", () => {
0 commit comments