feat: plugin-huawei

This commit is contained in:
xiaojunnuo
2023-05-09 09:19:17 +08:00
parent d602df4c70
commit 003ea9310b
36 changed files with 1640 additions and 61 deletions

View File

@@ -0,0 +1,24 @@
import { defineConfig } from "vite";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [],
build: {
lib: {
entry: "src/index.ts",
name: "pipeline",
},
rollupOptions: {
external: ["vue", "lodash-es", "dayjs", "@fast-crud/fast-crud"],
output: {
// Provide global variables to use in the UMD build
// for externalized deps
globals: {
vue: "Vue",
"lodash-es": "_",
dayjs: "dayjs",
"@fast-crud/fast-crud": "FastCrud",
},
},
},
},
});