Skip to content

Commit 73acf6e

Browse files
authored
nicer sandbox output (#15730)
1 parent 9cafdd8 commit 73acf6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playgrounds/sandbox/run.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ for (const generate of /** @type {const} */ (['client', 'server'])) {
5656
});
5757

5858
write(
59-
`${cwd}/output/${file}.json`,
59+
`${cwd}/output/ast/${file}.json`,
6060
JSON.stringify(
6161
ast,
6262
(key, value) => (typeof value === 'bigint' ? ['BigInt', value.toString()] : value),
@@ -66,7 +66,7 @@ for (const generate of /** @type {const} */ (['client', 'server'])) {
6666

6767
try {
6868
const migrated = migrate(source);
69-
write(`${cwd}/output/${file}.migrated.svelte`, migrated.code);
69+
write(`${cwd}/output/migrated/${file}`, migrated.code);
7070
} catch (e) {
7171
console.warn(`Error migrating ${file}`, e);
7272
}

0 commit comments

Comments
 (0)