fix: 修复打包问题

This commit is contained in:
xlsea 2025-05-16 12:09:10 +08:00
parent 9245cc15ce
commit 2f7deb367c

View File

@ -1,4 +1,3 @@
import { resolve } from 'node:path';
import type { PluginOption } from 'vite';
import { viteStaticCopy } from 'vite-plugin-static-copy';
@ -7,7 +6,7 @@ export function setupCopyPlugin(): PluginOption {
return viteStaticCopy({
targets: [
{
src: `${resolve('packages/tinymce/dist')}/*`,
src: 'packages/tinymce/dist/*',
dest: 'assets'
}
]