feat: 更新 VSCode 配置,添加 oxc 插件,调整 eslint 配置,优化构建和类型检查命令
This commit is contained in:
@ -41,7 +41,7 @@ export function Plugins() {
|
||||
exclude: ['**/__*', '**/__*/**/*'],
|
||||
getRouteName: (routeNode) => getPascalCaseRouteName(routeNode),
|
||||
logs: false,
|
||||
extensions: ['.page.vue', '.md'],
|
||||
extensions: ['.page.vue', '.page.md'],
|
||||
}),
|
||||
vue: Vue({ include: [/\.vue$/, /\.md$/] }),
|
||||
vueJsx: VueJsx(), // 如有需要
|
||||
@ -74,6 +74,7 @@ export function Plugins() {
|
||||
{
|
||||
// add any other imports you were relying on
|
||||
'vue-router/auto': ['useLink'],
|
||||
'consola/browser': ['consola'],
|
||||
},
|
||||
],
|
||||
dirs: [
|
||||
@ -148,8 +149,7 @@ export function Plugins() {
|
||||
}),
|
||||
);
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
const unused = () => {
|
||||
const _unused = () => {
|
||||
plugins.push(
|
||||
// https://github.com/unplugin/unplugin-vue-components/issues/664$0
|
||||
// https://github.com/VaJoy/vite-plugin-cdn-import-async$0
|
||||
|
Reference in New Issue
Block a user