feat: add compatible Trojan manager image
This commit is contained in:
@@ -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'
|
||||
}),
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user