don't minify
This commit is contained in:
parent
3c1de1f169
commit
a70cb145be
3 changed files with 3 additions and 3 deletions
|
@ -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',
|
||||||
|
|
|
@ -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'],
|
||||||
|
|
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue