Skip to content

Commit 8ea60fa

Browse files
committed
use basename
1 parent 178a3a1 commit 8ea60fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/integration-tests/fixtures/debug-ids-already-injected/input/webpack5

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { sentryWebpackPlugin } from "@sentry/webpack-plugin";
2-
import { join, posix } from "path";
2+
import { join, posix, basename } from "path";
33
import { fileURLToPath } from "url";
44
import { existsSync } from "fs";
55

6-
const __dirname = fileURLToPath(import.meta.url);
6+
const __dirname = basename(fileURLToPath(import.meta.url));
77

88
console.log({
99
__dirname,

0 commit comments

Comments
 (0)