Chore: Minify build for plane packages (#3017)

* minify @plane/ui build

* minify all the packages
This commit is contained in:
rahulramesha 2023-12-07 14:26:17 +05:30 committed by Aaryan Khandelwal
parent f7e140bf68
commit 6ab462d1e7
7 changed files with 14 additions and 14 deletions

View File

@ -17,7 +17,7 @@
} }
}, },
"scripts": { "scripts": {
"build": "tsup", "build": "tsup --minify",
"dev": "tsup --watch", "dev": "tsup --watch",
"check-types": "tsc --noEmit", "check-types": "tsc --noEmit",
"format": "prettier --write \"**/*.{ts,tsx,md}\"" "format": "prettier --write \"**/*.{ts,tsx,md}\""

View File

@ -16,7 +16,7 @@
} }
}, },
"scripts": { "scripts": {
"build": "tsup", "build": "tsup --minify",
"dev": "tsup --watch", "dev": "tsup --watch",
"check-types": "tsc --noEmit", "check-types": "tsc --noEmit",
"format": "prettier --write \"**/*.{ts,tsx,md}\"" "format": "prettier --write \"**/*.{ts,tsx,md}\""

View File

@ -17,7 +17,7 @@
} }
}, },
"scripts": { "scripts": {
"build": "tsup", "build": "tsup --minify",
"dev": "tsup --watch", "dev": "tsup --watch",
"check-types": "tsc --noEmit" "check-types": "tsc --noEmit"
}, },

View File

@ -17,7 +17,7 @@
} }
}, },
"scripts": { "scripts": {
"build": "tsup", "build": "tsup --minify",
"dev": "tsup --watch", "dev": "tsup --watch",
"check-types": "tsc --noEmit", "check-types": "tsc --noEmit",
"format": "prettier --write \"**/*.{ts,tsx,md}\"" "format": "prettier --write \"**/*.{ts,tsx,md}\""

View File

@ -17,7 +17,7 @@
} }
}, },
"scripts": { "scripts": {
"build": "tsup", "build": "tsup --minify",
"dev": "tsup --watch", "dev": "tsup --watch",
"check-types": "tsc --noEmit", "check-types": "tsc --noEmit",
"format": "prettier --write \"**/*.{ts,tsx,md}\"" "format": "prettier --write \"**/*.{ts,tsx,md}\""

View File

@ -17,7 +17,7 @@
} }
}, },
"scripts": { "scripts": {
"build": "tsup", "build": "tsup --minify",
"dev": "tsup --watch", "dev": "tsup --watch",
"check-types": "tsc --noEmit" "check-types": "tsc --noEmit"
}, },

View File

@ -12,7 +12,7 @@
"dist/**" "dist/**"
], ],
"scripts": { "scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --external react", "build": "tsup src/index.ts --format esm,cjs --dts --external react --minify",
"dev": "tsup src/index.ts --format esm,cjs --watch --dts --external react", "dev": "tsup src/index.ts --format esm,cjs --watch --dts --external react",
"lint": "eslint src/", "lint": "eslint src/",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"