feat: add compatible Trojan manager image

This commit is contained in:
chermack
2026-07-26 05:01:15 +08:00
parent 059be96536
commit cb17d56cae
26 changed files with 320 additions and 41 deletions
+1 -20
View File
@@ -2,7 +2,6 @@ import path, { resolve } from 'path'
import { defineConfig } from "vite"
import vue from "@vitejs/plugin-vue"
import viteSvgIcons from 'vite-plugin-svg-icons'
import externalGlobals from 'rollup-plugin-external-globals'
export default defineConfig(({ command }) => {
@@ -65,24 +64,6 @@ export default defineConfig(({ command }) => {
drop_debugger: true
}
},
rollupOptions:{
external: ['vue', 'vuex', 'vue-i18n', 'vue-router', 'element-plus',
'axios', 'crypto-js', 'dayjs', 'easyqrcodejs', 'nprogress'],
plugins: [
externalGlobals({
vue: 'Vue',
vuex: 'Vuex',
'vue-i18n': 'VueI18n',
'vue-router': 'VueRouter',
axios: 'axios',
'crypto-js': 'CryptoJS',
'dayjs': 'dayjs',
'easyqrcodejs': 'QRCode',
'nprogress': 'NProgress',
'element-plus': 'ElementPlus'
}),
]
}
}
}
})
})