test : ci/cd

This commit is contained in:
dj
2025-06-14 14:35:18 +08:00
parent 35d4d1b7ba
commit ba4c4fccdd
2 changed files with 98 additions and 94 deletions

View File

@@ -20,6 +20,7 @@
"jquery": "^3.6.0",
"js-cookie": "^3.0.5",
"nprogress": "^0.2.0",
"package-manager-detector": "^1.3.0",
"pinia": "^2.0.35",
"sass": "^1.62.1",
"scss": "^0.2.4",

View File

@@ -10,9 +10,11 @@ import vueJsx from '@vitejs/plugin-vue-jsx'
import Inspect from 'vite-plugin-inspect'
import viteSvgIcons from 'vite-plugin-svg-icons'
import path from 'path'
// https://vitejs.dev/config/
export default defineConfig({
export default defineConfig(async () => {
const {default: packageManagerDetector} = await import('package-manager-detector');
// 使用 packageManagerDetector
return {
plugins: [
vue(),
vueJsx(),
@@ -107,4 +109,5 @@ export default defineConfig({
}
},
}
})