We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 843a9ae commit e22befdCopy full SHA for e22befd
playgrounds/sandbox/run.js
@@ -29,9 +29,7 @@ function mkdirp(dir) {
29
const svelte_modules = glob('**/*.svelte', { cwd: `${cwd}/input` });
30
const js_modules = glob('**/*.js', { cwd: `${cwd}/input` });
31
32
-/** @type {Array<'client'|'server'>} */
33
-const compile_types = ['client', 'server'];
34
-for (const generate of compile_types) {
+for (const generate of /** @type {const} */ (['client', 'server'])) {
35
console.error(`\n--- generating ${generate} ---\n`);
36
for (const file of svelte_modules) {
37
const input = `${cwd}/input/${file}`;
0 commit comments