Skip to content

Commit a8e1ac3

Browse files
committed
dirname, not basename
1 parent 8ea60fa commit a8e1ac3

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, basename } from "path";
2+
import { join, posix, dirname } from "path";
33
import { fileURLToPath } from "url";
44
import { existsSync } from "fs";
55

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

88
console.log({
99
__dirname,

0 commit comments

Comments
 (0)