Added another example

This commit is contained in:
Aria Minaei 2021-07-15 15:19:56 +02:00
parent ce3d5d3a50
commit cf99805f89
6 changed files with 110 additions and 2 deletions

View file

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