From fb5e2586360bf691eee57499bb66be9974742aff Mon Sep 17 00:00:00 2001 From: Dylan Piercey Date: Wed, 2 Jun 2021 11:55:42 -0700 Subject: [PATCH] fix: issue with .d.ts missing --- build.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/build.js b/build.js index 84a81f9..440275d 100644 --- a/build.js +++ b/build.js @@ -1,10 +1,7 @@ -const fs = require("fs"); const glob = require("tiny-glob"); const { build } = require("esbuild"); (async () => { - await fs.promises.rmdir("dist", { recursive: true }).catch(() => {}); - // Ideally we'd use the same bundling / codesplitting as esm for cjs, // but thats not yet possible with esbuild, so we manually build each file. // https://github.com/evanw/esbuild/issues/1341