Skip to content

Commit

Permalink
add: compile config
Browse files Browse the repository at this point in the history
  • Loading branch information
Valexr committed Nov 7, 2024
1 parent 7548e43 commit 93cbf9c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ const svelteOptions = {
dev: DEV,
css: 'external',
immutable: true,
runes: true,
modernAst: true
},
preprocess: [
sveltePreprocess({
Expand All @@ -25,7 +27,7 @@ const svelteOptions = {

const buildOptions = {
bundle: true,
minify: !DEV,
// minify: !DEV,
sourcemap: DEV,
entryPoints: ['src/app.ts'],
outdir: 'public/build',
Expand Down

0 comments on commit 93cbf9c

Please sign in to comment.