We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86d08a5 commit 72fe442Copy full SHA for 72fe442
packages/integration-tests/fixtures/debug-ids-already-injected/input/webpack5/webpack.config.js
@@ -1,11 +1,13 @@
1
import { sentryWebpackPlugin } from "@sentry/webpack-plugin";
2
import { join, posix } from "path";
3
import { fileURLToPath } from "url";
4
+import { existsSync } from "fs";
5
6
const __dirname = fileURLToPath(import.meta.url);
7
8
console.log({
9
__dirname,
10
+ existsDirname: existsSync(__dirname),
11
posixInput: posix.join(__dirname, "..", "bundle.js"),
12
input: join(__dirname, "..", "bundle.js"),
13
outputPath: posix.join(__dirname, "..", "..", "out", "webpack5"),
@@ -14,9 +16,9 @@ console.log({
14
16
export default {
15
17
devtool: "source-map-debugids",
18
cache: false,
- entry: { index: posix.join(__dirname, "..", "bundle.js") },
19
+ entry: { index: join(__dirname, "..", "bundle.js") },
20
output: {
- path: posix.join(__dirname, "..", "..", "out", "webpack5"),
21
+ path: join(__dirname, "..", "..", "out", "webpack5"),
22
library: {
23
type: "commonjs",
24
},
0 commit comments