Skip to content

Commit 9a0cb11

Browse files
committed
wtf
1 parent bcd3341 commit 9a0cb11

File tree

1 file changed

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

1 file changed

+4
-2
lines changed

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

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

66
const __dirname = new URL(".", import.meta.url).pathname;
@@ -9,11 +9,13 @@ console.log({
99
__dirname,
1010
input: join(__dirname, "bundle.js"),
1111
existsInput: existsSync(join(__dirname, "bundle.js")),
12+
existsInputPosix: existsSync(posix.join(__dirname, "bundle.js")),
13+
existsInputDumb: existsSync(`${__dirname}/bundle.js`),
1214
outputPath: join(__dirname, "..", "..", "out", "rollup4"),
1315
});
1416

1517
export default defineConfig({
16-
input: { index: join(__dirname, "bundle.js") },
18+
input: { index: `${__dirname}/bundle.js` },
1719
output: {
1820
dir: join(__dirname, "..", "..", "out", "rollup4"),
1921
sourcemap: true,

0 commit comments

Comments
 (0)