We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e6b5293 + b3c2cc3 commit 06cbb68Copy full SHA for 06cbb68
build.js
@@ -4,16 +4,11 @@ import { build } from "esbuild";
4
import { glob } from "glob";
5
import { writeFile } from "fs/promises";
6
7
-const production = process.env.NODE_ENV !== "development";
8
-
9
/**
10
* @type {import("esbuild").BuildOptions}
11
*/
12
const sharedConfig = {
13
entryPoints: await glob("src/**/*.ts", { ignore: ["src/standalone.ts"] }),
14
- minifySyntax: production,
15
- minifyWhitespace: production,
16
- minifyIdentifiers: false,
17
sourcemap: true,
18
platform: "node"
19
};
0 commit comments