diff --git a/playgrounds/sandbox/run.js b/playgrounds/sandbox/run.js index 0b72c18f46..9c48a6c97b 100644 --- a/playgrounds/sandbox/run.js +++ b/playgrounds/sandbox/run.js @@ -63,11 +63,18 @@ for (const generate of /** @type {const} */ (['client', 'server'])) { runes: argv.values.runes }); + for (const warning of compiled.warnings) { + console.warn(warning.code); + console.warn(warning.frame); + } + fs.writeFileSync( output_js, compiled.js.code + '\n//# sourceMappingURL=' + path.basename(output_map) ); + fs.writeFileSync(output_map, compiled.js.map.toString()); + if (compiled.css) { fs.writeFileSync(output_css, compiled.css.code); }