Skip to content

Commit

Permalink
Fixed esbuild config
Browse files Browse the repository at this point in the history
  • Loading branch information
bgonp committed Mar 6, 2021
1 parent 632fb64 commit b1391c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ require('esbuild').build({
format: 'cjs',
minify: true,
outfile: 'build/index.js',
target: 'es5',
target: 'es6',
external: ['react'],
define: {
'process.env.NODE_ENV': '"production"',
},
}).catch(() => process.exit(1))

0 comments on commit b1391c1

Please sign in to comment.