1 Star 0 Fork 44

luzwales / vue-fabric-editor

forked from 秦少卫 / vue-fabric-editor 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
viteSDK.config.ts 719 Bytes
一键复制 编辑 原始数据 按行查看 历史
秦少卫 提交于 2024-03-17 16:44 . refactor(material): 素材地址统一
/*
* @Description:
* @version:
* @Author: June
* @Date: 2023-04-24 00:25:39
* @LastEditors: 秦少卫
* @LastEditTime: 2024-03-17 13:46:56
*/
import { defineConfig } from 'vite';
import eslintPlugin from 'vite-plugin-eslint'; //导入包
import { resolve } from 'path';
const config = () => {
return {
build: {
lib: {
entry: resolve(__dirname, './packages/core/index.ts'),
name: 'Kuaitu',
fileName: 'index',
},
},
plugins: [
// 增加下面的配置项,这样在运行时就能检查eslint规范
eslintPlugin({
include: ['src/**/*.js', 'src/**/*.vue', 'src/*.js', 'src/*.vue'],
}),
],
};
};
export default defineConfig(config);
JavaScript
1
https://gitee.com/luzwales/vue-fabric-editor.git
git@gitee.com:luzwales/vue-fabric-editor.git
luzwales
vue-fabric-editor
vue-fabric-editor
main

搜索帮助