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}\""
@ -80,4 +80,4 @@
"nextjs", "nextjs",
"react" "react"
] ]
} }

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}\""
@ -63,4 +63,4 @@
"nextjs", "nextjs",
"react" "react"
] ]
} }

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"
}, },
@ -57,4 +57,4 @@
"nextjs", "nextjs",
"react" "react"
] ]
} }

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}\""
@ -52,4 +52,4 @@
"nextjs", "nextjs",
"react" "react"
] ]
} }

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}\""
@ -55,4 +55,4 @@
"nextjs", "nextjs",
"react" "react"
] ]
} }

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"
}, },
@ -48,4 +48,4 @@
"nextjs", "nextjs",
"react" "react"
] ]
} }

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"
@ -38,4 +38,4 @@
"react-color": "^2.19.3", "react-color": "^2.19.3",
"react-popper": "^2.3.0" "react-popper": "^2.3.0"
} }
} }