diff --git a/package.json b/package.json index b5ca2e6b..1b2012e2 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "url": "https://github.com/cashubtc/cashu-ts/issues" }, "scripts": { - "compile": "vite build && BUILD_FORMAT=iife vite build", + "compile": "rm -rf lib && vite build && BUILD_FORMAT=iife vite build", "test": "vitest run --coverage --exclude ./test/integration.test.ts", "test-integration": "vitest run ./test/integration.test.ts --coverage", "dev": "tsc --watch",