index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
-rw-r--r-- | esbuild-server.mjs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/esbuild-server.mjs b/esbuild-server.mjs index 14741c9..15ee06d 100644 --- a/esbuild-server.mjs +++ b/esbuild-server.mjs @@ -109,8 +109,8 @@ const svgUseCacheBust = { } }; -const resolveImportedSvg = { - name: 'resolveImportedSvg', +const resolveSvgImports = { + name: 'resolveSvgImports', setup(build) { build.onStart(() => { console.log("BUILD STARTED"); @@ -174,7 +174,7 @@ const ctx = await esbuild.context({ entryPoints: ['src/index.js', 'src/soldier_record_block.js', 'src/map.js'], bundle: true, outdir: 'build', - plugins: [resolveImportedSvg, externalSvgToInternal], + plugins: [resolveSvgImports, externalSvgToInternal], loader: { '.svg': 'file' }, |