Build: The bundle script now generates multiple bundles for different formats

This commit is contained in:
Aria Minaei 2021-06-21 14:05:48 +02:00
parent 463c226eb6
commit 6596c811d7
5 changed files with 75 additions and 26 deletions

View file

@ -15,8 +15,6 @@ require('esbuild')
entryPoints: [path.join(playgroundDir, 'src/index.tsx')],
target: ['firefox88'],
loader: {'.png': 'file'},
// outdir: '.',
// watch: true,
bundle: true,
sourcemap: true,
define: definedGlobals,