More docs and annotations

This commit is contained in:
Aria Minaei 2021-09-18 21:43:29 +02:00
parent 60974c4273
commit 631bcba724
15 changed files with 214 additions and 46 deletions

View file

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