forked from github/plane
Chore: Minify build for plane packages (#3017)
* minify @plane/ui build * minify all the packages
This commit is contained in:
parent
6c8df73ad4
commit
03c8aeed57
@ -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"
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -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"
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -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"
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -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"
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -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"
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -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"
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user