chore: 更新依赖

This commit is contained in:
Hooray
2026-04-07 23:22:59 +08:00
parent 5f580bbf00
commit c916a5dc0a
11 changed files with 182 additions and 259 deletions
-24
View File
@@ -164,30 +164,6 @@ new VConsole()
},
},
{
name: 'vite-plugin-disable-devtool',
enforce: 'pre',
apply: 'build',
transform: (code, id) => {
if (/src\/main.ts$/.test(id)) {
if (viteEnv.VITE_APP_DISABLE_DEVTOOL) {
// ?ddtk=example
code = `
${code}
import DisableDevtool from 'disable-devtool'
DisableDevtool({
md5: '1a79a4d60de6718e8e5b326e338ae533',
})
`
}
return {
code,
map: null,
}
}
},
},
createFantasticAdminCopyrightPlugins(),
]
return vitePlugins