Vite下build报错
kuangyuliang opened this issue · comments
kuangyuliang commented
markthree commented
试试在 tsconfig.json
的 compilerOptions
补上 "skipLibCheck": true
{
"compilerOptions": {
"skipLibCheck": true
}
}
或者在 package.json
中将 scripts
里的 build
改为 vite build
{
"scripts": {
"build": "vite build"
}
}
···