Skip to content

Commit 7ac936f

Browse files
committed
update sandbox
1 parent 27848a5 commit 7ac936f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

playgrounds/sandbox/run.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,18 +87,18 @@ for (const generate of /** @type {const} */ (['client', 'server'])) {
8787
write(output_js, compiled.js.code + '\n//# sourceMappingURL=' + path.basename(output_map));
8888
write(output_map, compiled.js.map.toString());
8989

90-
// generate with templatingMode: 'functional'
90+
// generate with fragments: 'tree'
9191
if (generate === 'client') {
9292
const compiled = compile(source, {
9393
dev: true,
9494
filename: input,
9595
generate,
9696
runes: argv.values.runes,
97-
templatingMode: 'functional'
97+
fragments: 'tree'
9898
});
9999

100-
const output_js = `${cwd}/output/${generate}/${file}.functional.js`;
101-
const output_map = `${cwd}/output/${generate}/${file}.functional.js.map`;
100+
const output_js = `${cwd}/output/${generate}/${file}.tree.js`;
101+
const output_map = `${cwd}/output/${generate}/${file}.tree.js.map`;
102102

103103
write(output_js, compiled.js.code + '\n//# sourceMappingURL=' + path.basename(output_map));
104104
write(output_map, compiled.js.map.toString());

0 commit comments

Comments
 (0)