76 Star 938 Fork 162

GVPaieditor-team/AiEditor

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
vite.config.ts 595 Bytes
Copy Edit Raw Blame History
import {defineConfig} from 'vite'
import {resolve} from 'path';
import dts from 'vite-plugin-dts'
export default defineConfig({
define: {'process.env': {}},
build: {
minify: "esbuild",
lib: {
entry: resolve(__dirname, './src/index.ts'),
name: 'aieditor',
// fileName: (format) => `index.${format}.js`,
fileName: `index`,
formats: ['es', 'cjs']
},
},
plugins: [dts({rollupTypes: true}),
// legacy({
// targets: ['defaults', 'not IE 11','chrome 52'],
// }),
],
})
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/aieditor-team/aieditor.git
git@gitee.com:aieditor-team/aieditor.git
aieditor-team
aieditor
AiEditor
main

Search