Skip to content

Commit bcd3341

Browse files
committed
check and add
1 parent e645bbf commit bcd3341

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// eslint-disable-next-line no-console
2+
console.log("Hello world");

packages/integration-tests/fixtures/debug-ids-already-injected/input/rollup4/rollup.config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
import { defineConfig } from "rollup";
22
import { sentryRollupPlugin } from "@sentry/rollup-plugin";
3-
import { join, posix } from "path";
3+
import { join } from "path";
4+
import { existsSync } from "fs";
45

56
const __dirname = new URL(".", import.meta.url).pathname;
67

78
console.log({
89
__dirname,
9-
posixInput: posix.join(__dirname, "bundle.js"),
10-
input: join(__dirname, "..", "bundle.js"),
10+
input: join(__dirname, "bundle.js"),
11+
existsInput: existsSync(join(__dirname, "bundle.js")),
1112
outputPath: join(__dirname, "..", "..", "out", "rollup4"),
12-
posixOutputPath: posix.join(__dirname, "..", "..", "out", "rollup4"),
1313
});
1414

1515
export default defineConfig({
16-
input: { index: posix.join(__dirname, "bundle.js") },
16+
input: { index: join(__dirname, "bundle.js") },
1717
output: {
18-
dir: posix.join(__dirname, "..", "..", "out", "rollup4"),
18+
dir: join(__dirname, "..", "..", "out", "rollup4"),
1919
sourcemap: true,
2020
sourcemapDebugIds: true,
2121
},

0 commit comments

Comments
 (0)