Rename plugin
This commit is contained in:
parent
414fd16298
commit
52377f4969
@ -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'
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user