1 Star 0 Fork 52

akaedu202/t-ui-plus

forked from wocwin/t-ui-plus 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vite.config.ts.timestamp-1730195434857.mjs 7.76 KB
一键复制 编辑 原始数据 按行查看 历史
// vite.config.ts
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import vueJsx from "@vitejs/plugin-vue-jsx";
import { resolve } from "path";
import vueSetupExtend from "vite-plugin-vue-setup-extend";
import viteCompression from "vite-plugin-compression";
import dts from "vite-plugin-dts";
var __vite_injected_original_dirname = "E:\\Win\\code\\giteeTuiPlus";
var vite_config_default = defineConfig({
plugins: [
vue(),
dts(),
vueJsx(),
vueSetupExtend(),
viteCompression({
verbose: true,
disable: false,
deleteOriginFile: false,
threshold: 10240,
algorithm: "gzip",
ext: ".gz"
})
],
server: {
host: "0.0.0.0",
port: 3300,
open: true,
https: false,
proxy: {
"^/mes": {
target: `http://10.0.10.243:5000/mesv2/`,
changeOrigin: true,
rewrite: (p) => p.replace(/^\/mes/, "")
},
"^/portal-user": {
target: `http://10.0.10.240:8172`,
changeOrigin: true,
rewrite: (p) => p.replace(/^\/portal-user/, "/portal-user")
},
"^/portal-sso": {
target: `http://10.0.10.240:8171`,
changeOrigin: true,
rewrite: (p) => p.replace(/^\/portal-sso/, "/portal-sso")
}
}
},
resolve: {
alias: {
"@": resolve(__vite_injected_original_dirname, "packages")
},
extensions: [".js", ".ts", ".jsx", ".tsx", ".json", ".vue", ".mjs"]
},
build: {
outDir: "lib",
rollupOptions: {
external: ["vue"],
output: {
globals: {
vue: "Vue"
}
}
},
lib: {
entry: "./packages/index.ts",
name: "t-ui-plus",
fileName: "t-ui-plus"
}
}
});
export {
vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0I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NUQ7QUFBQSxNQUNBLGdCQUFnQjtBQUFBLFFBQ2QsUUFBUTtBQUFBLFFBQ1IsY0FBYztBQUFBLFFBQ2QsU0FBUyxDQUFDLE1BQU0sRUFBRSxRQUFRLGlCQUFpQixhQUFhO0FBQUEsTUFDMUQ7QUFBQSxJQUNGO0FBQUEsRUFDRjtBQUFBLEVBQ0EsU0FBUztBQUFBLElBRVAsT0FBTztBQUFBLE1BRUwsS0FBSyxRQUFRLGtDQUFXLFVBQVU7QUFBQSxJQUNwQztBQUFBLElBRUEsWUFBWSxDQUFDLE9BQU8sT0FBTyxRQUFRLFFBQVEsU0FBUyxRQUFRLE1BQU07QUFBQSxFQUNwRTtBQUFBLEVBQ0EsT0FBTztBQUFBLElBQ0wsUUFBUTtBQUFBLElBRVIsZUFBZTtBQUFBLE1BRWIsVUFBVSxDQUFDLEtBQUs7QUFBQSxNQUNoQixRQUFRO0FBQUEsUUFFTixTQUFTO0FBQUEsVUFDUCxLQUFLO0FBQUEsUUFDUDtBQUFBLE1BQ0Y7QUFBQSxJQUNGO0FBQUEsSUFDQSxLQUFLO0FBQUEsTUFFSCxPQUFPO0FBQUEsTUFDUCxNQUFNO0FBQUEsTUFHTixVQUFVO0FBQUEsSUFDWjtBQUFBLEVBQ0Y7QUFDRixDQUFDOyIsCiAgIm5hbWVzIjogW10KfQo=
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/akaedu2012/t-ui-plus.git
git@gitee.com:akaedu2012/t-ui-plus.git
akaedu2012
t-ui-plus
t-ui-plus
dev

搜索帮助