From 90b725894fd3bb09653b42b29efbb38762f47cab Mon Sep 17 00:00:00 2001 From: Chancellor Clark Date: Mon, 13 Jul 2020 10:33:14 -0500 Subject: [PATCH] fix(common): CHP-00 remove esm folder on prebuild --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1c2afdf..0c91542 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "homepage": "https://github.com/bigcommerce/request-sender-js", "scripts": { - "prebuild": "rm -rf lib", + "prebuild": "rm -rf lib; rm -rf esm", "build:cjs": "tsc --outDir lib --project tsconfig-build.json", "build:esm": "tsc --outDir esm --project tsconfig-build.json --target es5 --module esnext", "build": "npm run build:cjs && npm run build:esm",