diff --git a/deno.json b/deno.json index ae07889..8265dda 100644 --- a/deno.json +++ b/deno.json @@ -62,7 +62,7 @@ "minify:assets": "deno task minify:assets:js && deno task minify:assets:css", "minify:assets:css": "lightningcss --minify --nesting --bundle --targets '>= 0.25%' out/assets/index.css -o out/assets/index.min.css", "minify:assets:js": "esbuild --bundle --format=esm --minify out/assets/index.js --outfile=out/assets/index.min.js", - "minify:server": "esbuild --bundle --format=esm --minify out/server.js --outfile=out/server.min.js", + "minify:server": "esbuild --bundle --format=esm --minify --platform=node out/server.js --outfile=out/server.min.js", "run:debug": "deno run --watch=deno.lock,deno.json --check --allow-all --unstable --config=deno.json src/main.ts", "run:dev": "deno task build:assets:css:watch & deno task build:assets:js:watch & deno task build:icons:watch & deno task run:debug", "test": "deno test --unstable --allow-read --allow-net --allow-import --allow-env --allow-write --fail-fast --parallel .",