Remove clean before build

This commit is contained in:
Stan Wohlwend 2024-03-04 21:59:41 +01:00
parent f7380e041a
commit 32d67068ed
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "pnpm clean && tsc",
"build": "tsc",
"typecheck": "tsc --noEmit",
"clean": "rimraf dist && rimraf node_modules",
"dev": "tsc -w --preserveWatchOutput --declarationMap",

View File

@ -6,7 +6,7 @@
"type": "module",
"scripts": {
"typecheck": "tsc --noEmit",
"build": "pnpm clean && tsc && npx tailwindcss build -i src/tailwind.css -o dist/tailwind.css && postcss ./src/tailwind.css -o ./dist/tailwind.css --config postcss.config.js",
"build": "tsc && npx tailwindcss build -i src/tailwind.css -o dist/tailwind.css && postcss ./src/tailwind.css -o ./dist/tailwind.css --config postcss.config.js",
"clean": "rimraf dist && rimraf node_modules",
"dev": "concurrently \"npm run watch:ts\" \"npm run watch:postcss\"",
"watch:ts": "tsc -w --preserveWatchOutput --declarationMap",