diff --git a/package.json b/package.json index 412ee89f..3c34563b 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "scripts": { "prepare": "ts-patch install -s", "dev": "vite", - "build": "vite build && tsc", + "build": "vite build && tsc && rm -rf tmp", "prepublishOnly": "yarn build", "test": "exit 0;", "lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .", diff --git a/tsconfig.json b/tsconfig.json index 940af948..da3def3c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "outDir": "./tmp", "baseUrl": ".", "module": "ESNext", "target": "es2020",