From 93cbf9c56ea24da1801fc424a81840d7c541e268 Mon Sep 17 00:00:00 2001 From: Valexr Date: Thu, 7 Nov 2024 20:32:12 +0200 Subject: [PATCH] add: compile config --- esbuild.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/esbuild.js b/esbuild.js index 0c43d17..bc6e2f3 100644 --- a/esbuild.js +++ b/esbuild.js @@ -14,6 +14,8 @@ const svelteOptions = { dev: DEV, css: 'external', immutable: true, + runes: true, + modernAst: true }, preprocess: [ sveltePreprocess({ @@ -25,7 +27,7 @@ const svelteOptions = { const buildOptions = { bundle: true, - minify: !DEV, + // minify: !DEV, sourcemap: DEV, entryPoints: ['src/app.ts'], outdir: 'public/build',