1 Star 0 Fork 109

popcorn_6969 / ng-form-elementplus

forked from jjxliu306 / ng-form-elementplus 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
vite.config.js 727 Bytes
一键复制 编辑 原始数据 按行查看 历史
jjxliu306 提交于 2023-07-02 14:40 . 示例和部分语法修复
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'path'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
// build: {
// lib: {
// entry: path.resolve('./dist', 'ng-form-elementplus.umd.js'),
// name: 'ng-form-elementplus',
// fileName: (format) => `ng-form-elementplus.${format}.js`
// },
// rollupOptions: {
// // 确保外部化处理那些你不想打包进库的依赖
// external: ['vue','element-plus'],
// output: {
// // 在 UMD 构建模式下为这些外部化的依赖提供一个全局变量
// globals: {
// vue: 'Vue'
// }
// }
// }
// }
})
NodeJS
1
https://gitee.com/popcorn-6969/ng-form-elementplus.git
git@gitee.com:popcorn-6969/ng-form-elementplus.git
popcorn-6969
ng-form-elementplus
ng-form-elementplus
master

搜索帮助