Skip to content

Commit a36492b

Browse files
committed
fileURLToPath
1 parent a181caf commit a36492b

File tree

1 file changed

+2
-1
lines changed
  • packages/integration-tests/fixtures/debug-ids-already-injected/input/webpack5

1 file changed

+2
-1
lines changed

packages/integration-tests/fixtures/debug-ids-already-injected/input/webpack5/webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { sentryWebpackPlugin } from "@sentry/webpack-plugin";
22
import { join, posix } from "path";
3+
import { fileURLToPath } from "url";
34

4-
const __dirname = new URL(".", import.meta.url).pathname;
5+
const __dirname = fileURLToPath(new URL(".", import.meta.url));
56

67
console.log({
78
__dirname,

0 commit comments

Comments
 (0)