Fix/refactor tests
This commit is contained in:
@@ -155,9 +155,6 @@ const resolveSvgImports = {
|
||||
name: 'resolveSvgImports',
|
||||
setup(build) {
|
||||
build.onStart(() => {
|
||||
console.log("BUILD STARTED");
|
||||
console.log(build.initialOptions.outdir);
|
||||
|
||||
fs.rmSync(path.resolve(build.initialOptions.outdir), { recursive: true, force: true });
|
||||
});
|
||||
|
||||
@@ -228,7 +225,6 @@ const ctx = await esbuild.context({
|
||||
'.svg': 'file'
|
||||
},
|
||||
assetNames: 'assets/images/[name]-[hash]',
|
||||
metafile: true
|
||||
});
|
||||
|
||||
await ctx.watch();
|
||||
|
||||
Reference in New Issue
Block a user