1
0
mirror of synced 2026-05-21 01:36:40 +08:00

build: 升级rollup 4.45.0后playground构建失败,回滚回4.44.1

This commit is contained in:
roymondchen
2025-07-15 16:31:12 +08:00
parent a43825caa2
commit cebf3506d4
5 changed files with 109 additions and 109 deletions

View File

@@ -44,7 +44,7 @@ export default defineConfig({
base: '/tmagic-editor/playground/',
resolve: {
alias: [
alias: process.env.NODE_ENV === 'development' ? [
{
find: /^@tmagic\/editor\/dist\/style.css/,
replacement: path.join(__dirname, '../packages/editor/src/theme/index.scss'),
@@ -85,7 +85,7 @@ export default defineConfig({
find: /^@tmagic\/element-plus-adapter/,
replacement: path.join(__dirname, '../packages/element-plus-adapter/src/index.ts'),
},
],
] : [],
},
optimizeDeps: {