chore: 重构 tinymce 组件

This commit is contained in:
xlsea
2025-05-13 21:59:11 +08:00
parent 3c90c3ccfe
commit 7dc8ba6e41
135 changed files with 104 additions and 25181 deletions

15
build/plugins/copy.ts Normal file
View File

@ -0,0 +1,15 @@
import { resolve } from 'node:path';
import type { PluginOption } from 'vite';
import { viteStaticCopy } from 'vite-plugin-static-copy';
/** 配置静态资源复制 */
export function setupCopyPlugin(): PluginOption {
return viteStaticCopy({
targets: [
{
src: `${resolve('packages/tinymce/dist')}/*`,
dest: 'assets'
}
]
});
}