feat: rebuild warm operations workbench

This commit is contained in:
Codex
2026-07-30 14:49:33 +08:00
parent 25c853dea8
commit 570edf6bb2
88 changed files with 13413 additions and 2250 deletions
+16 -2
View File
@@ -1,6 +1,20 @@
import { fileURLToPath } from 'node:url';
import react from '@vitejs/plugin-react';
import { defineConfig } from 'vite';
export default defineConfig({
export default defineConfig(({ mode }) => ({
plugins: [react()],
});
resolve: {
alias:
mode === 'test'
? [
{
find: /^animal-island-ui$/u,
replacement: fileURLToPath(
new URL('./node_modules/animal-island-ui/dist/cjs/index.cjs', import.meta.url),
),
},
]
: [],
},
}));