Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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();