add clean to build

This commit is contained in:
Rene Haas
2022-10-31 11:00:33 +01:00
parent 7c0fd242ca
commit 3d095f747d
5 changed files with 47 additions and 13 deletions
@@ -2,7 +2,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": "./src/",
"outDir": "dist",
"outDir": "./dist/types",
"declaration": true,
"types": ["react"]
},
@@ -9,6 +9,7 @@ module.exports = createRollupConfig({
verbose: true,
extractStyles: true,
extractTypes: true,
clean: true,
extractPackageJson: {
json: ({
name,