From 163e3a9de59f5d6a8df38fa32a1e7dc4db1ad024 Mon Sep 17 00:00:00 2001
From: Catalin Mititiuc
Date: Sat, 1 Jun 2024 17:50:58 -0700
Subject: Fix/refactor tests
---
esbuild-server.mjs | 4 ----
1 file changed, 4 deletions(-)
(limited to 'esbuild-server.mjs')
diff --git a/esbuild-server.mjs b/esbuild-server.mjs
index 0f169f3..2421f23 100644
--- a/esbuild-server.mjs
+++ b/esbuild-server.mjs
@@ -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();
--
cgit v1.2.3