mirror of
https://github.com/hanzoai/code.git
synced 2026-09-30 20:53:35 +00:00
Update build-tsx.js
This commit is contained in:
@@ -5,13 +5,6 @@ esbuild.build({
|
||||
entryPoints: ['src/sidebar/index.tsx'],
|
||||
bundle: true,
|
||||
minify: true,
|
||||
loader: {
|
||||
'.ttf': 'file',
|
||||
'.woff': 'file',
|
||||
'.woff2': 'file',
|
||||
'.eot': 'file',
|
||||
'.svg': 'file',
|
||||
},
|
||||
sourcemap: true,
|
||||
outfile: 'dist/sidebar/index.js',
|
||||
format: 'iife', // apparently iife is safe for browsers (safer than cjs)
|
||||
|
||||
Reference in New Issue
Block a user