Skip to content

Commit a181caf

Browse files
committed
try w/o __dirname
1 parent 6f20277 commit a181caf

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ const __dirname = new URL(".", import.meta.url).pathname;
77

88
console.log({
99
__dirname,
10-
input: join(__dirname, "bundle.js"),
10+
input: "./bundle.js",
1111
existsInput: existsSync(join(__dirname, "bundle.js")),
1212
existsInputPosix: existsSync(posix.join(__dirname, "bundle.js")),
1313
existsInputDumb: existsSync(`${__dirname}/bundle.js`),
1414
outputPath: join(__dirname, "..", "..", "out", "rollup4"),
15-
allFilesInDirname: readdirSync(join(__dirname, ".")),
15+
// allFilesInDirname: readdirSync(join(__dirname, ".")),
1616
});
1717

1818
export default defineConfig({
19-
input: { index: `${__dirname}/bundle.js` },
19+
input: { index: "./bundle.js" },
2020
output: {
21-
dir: join(__dirname, "..", "..", "out", "rollup4"),
21+
dir: join("..", "..", "out", "rollup4"),
2222
sourcemap: true,
2323
sourcemapDebugIds: true,
2424
},

0 commit comments

Comments
 (0)