From 56a411ce930cda54b0a320d54f9fc3cb12caf5d7 Mon Sep 17 00:00:00 2001 From: Heyward Fann Date: Wed, 12 Jun 2024 12:58:01 +0800 Subject: [PATCH] chore: no minify --- esbuild.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/esbuild.js b/esbuild.js index 2679761..ea72ead 100644 --- a/esbuild.js +++ b/esbuild.js @@ -2,7 +2,6 @@ async function start() { await require('esbuild').build({ entryPoints: ['src/index.ts'], bundle: true, - minify: true, keepNames: true, sourcemap: process.env.NODE_ENV === 'development', mainFields: ['module', 'main'], @@ -15,4 +14,4 @@ async function start() { start().catch((e) => { console.error(e); -}); +}); \ No newline at end of file