Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-06-01 17:50:58 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-06-01 17:50:58 -0700
commit163e3a9de59f5d6a8df38fa32a1e7dc4db1ad024 (patch)
tree8ae679d3059d8ee8c69a3d45994bc74e4388f76b /esbuild-server.mjs
parente8fae51b32b6ebc4ec4e16338467b7fcc41edd11 (diff)
Fix/refactor tests
Diffstat (limited to 'esbuild-server.mjs')
-rw-r--r--esbuild-server.mjs4
1 files changed, 0 insertions, 4 deletions
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();