diff --git a/example/scripts/build.mjs b/example/scripts/build.mjs index d9b92c1c7..f7d31ee1e 100644 --- a/example/scripts/build.mjs +++ b/example/scripts/build.mjs @@ -18,7 +18,7 @@ async function main() { esbuild.buildSync({ entryPoints: ['./src/index.tsx'], outfile: 'dist/index.js', - minify: true, + minify: false, bundle: true, format: 'cjs', target: 'es6', diff --git a/example/scripts/dev.mjs b/example/scripts/dev.mjs index 72349d2ca..902b9c30e 100644 --- a/example/scripts/dev.mjs +++ b/example/scripts/dev.mjs @@ -16,8 +16,8 @@ async function main() { { entryPoints: ['src/index.tsx'], outfile: 'dist/index.js', - bundle: true, minify: false, + bundle: true, sourcemap: true, incremental: true, target: ['chrome58', 'firefox57', 'safari11', 'edge18'], diff --git a/packages/tldraw/scripts/build.js b/packages/tldraw/scripts/build.js index 8ce1cd241..e46662d1d 100644 --- a/packages/tldraw/scripts/build.js +++ b/packages/tldraw/scripts/build.js @@ -17,7 +17,7 @@ async function main() { esbuild.buildSync({ entryPoints: ['./src/index.ts'], outdir: 'dist/cjs', - minify: true, + minify: false, bundle: true, format: 'cjs', target: 'es6',