don't minify

This commit is contained in:
Steve Ruiz 2021-11-06 16:09:38 +00:00
parent 3c1de1f169
commit a70cb145be
3 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ async function main() {
esbuild.buildSync({ esbuild.buildSync({
entryPoints: ['./src/index.tsx'], entryPoints: ['./src/index.tsx'],
outfile: 'dist/index.js', outfile: 'dist/index.js',
minify: true, minify: false,
bundle: true, bundle: true,
format: 'cjs', format: 'cjs',
target: 'es6', target: 'es6',

View file

@ -16,8 +16,8 @@ async function main() {
{ {
entryPoints: ['src/index.tsx'], entryPoints: ['src/index.tsx'],
outfile: 'dist/index.js', outfile: 'dist/index.js',
bundle: true,
minify: false, minify: false,
bundle: true,
sourcemap: true, sourcemap: true,
incremental: true, incremental: true,
target: ['chrome58', 'firefox57', 'safari11', 'edge18'], target: ['chrome58', 'firefox57', 'safari11', 'edge18'],

View file

@ -17,7 +17,7 @@ async function main() {
esbuild.buildSync({ esbuild.buildSync({
entryPoints: ['./src/index.ts'], entryPoints: ['./src/index.ts'],
outdir: 'dist/cjs', outdir: 'dist/cjs',
minify: true, minify: false,
bundle: true, bundle: true,
format: 'cjs', format: 'cjs',
target: 'es6', target: 'es6',