index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-31 10:29:10 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-05-31 10:29:10 -0700 |
commit | 52377f49699ad996bb11c1447206cc6b8b241ebd (patch) | |
tree | 3b13319d432588464a08cbc2e51f2ee1343f5110 | |
parent | 414fd16298d0e870c71ffbceadec0ea84ca18142 (diff) |
Rename plugin
-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' }, |