mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
Update build-tsx.js
This commit is contained in:
parent
f2342bee2d
commit
7072933a88
1 changed files with 0 additions and 7 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue