mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-29 10:38:56 +08:00
chore: optimize startup performance (#6952)
This commit is contained in:
parent
83d6c93765
commit
0f1ffc99cd
@ -30,14 +30,14 @@
|
||||
"locale"
|
||||
],
|
||||
"scripts": {
|
||||
"collect-token-statistic": "ts-node --project tsconfig.node.json scripts/collect-token-statistic.js",
|
||||
"collect-token-statistic": "tsx scripts/collect-token-statistic.js",
|
||||
"token-meta": "node scripts/generate-token-meta.js",
|
||||
"predev": "npm run version & npm run collect-token-statistic & npm run token-meta && node node_modules/esbuild/install.js",
|
||||
"precompile": "npm run version & npm run collect-token-statistic & npm run token-meta",
|
||||
"pretest": "npm run version",
|
||||
"predist": "npm run version",
|
||||
"presite": "npm run version & npm run routes & npm run collect-token-statistic & npm run token-meta",
|
||||
"dev": "npm run predev && npm run routes && vite serve site",
|
||||
"dev": "npm run routes && vite serve site",
|
||||
"fast-dev": "npm run routes && vite serve site",
|
||||
"test": "cross-env NODE_ENV=test jest --config .jest.js",
|
||||
"compile": "node antd-tools/cli/run.js compile",
|
||||
@ -250,7 +250,7 @@
|
||||
"tinycolor2": "^1.6.0",
|
||||
"ts-jest": "^28.0.5",
|
||||
"ts-loader": "^9.1.0",
|
||||
"ts-node": "^10.8.2",
|
||||
"tsx": "^3.12.10",
|
||||
"typedoc": "^0.23.25",
|
||||
"typescript": "~4.9.3",
|
||||
"umi-request": "^1.3.5",
|
||||
|
@ -39,6 +39,7 @@ function main() {
|
||||
app.bootstrap({
|
||||
// typedoc options here
|
||||
entryPoints: ['components/theme/interface/index.ts'],
|
||||
skipErrorChecking: true,
|
||||
});
|
||||
|
||||
const project = app.convert();
|
||||
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"module": "CommonJS",
|
||||
"types": ["node"]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user