feat: update routing regex patterns for improved API path matching

This commit is contained in:
shuaiplus authored and Shuai committed 2026-03-02 00:10:44 +08:00
1 parent a0b9f970c1
commit d3d4755505
6 files changed
+24 -10

No files matched your search

+11 -1
View File
@@ -16,7 +16,17 @@ export default defineConfig({
build: {
outDir: path.resolve(rootDir, '../dist'),
emptyOutDir: true,
sourcemap: true,
sourcemap: false,
target: 'esnext',
rollupOptions: {
output: {
manualChunks: {
vendor: ['preact', 'preact/hooks', 'preact/jsx-runtime'],
query: ['@tanstack/react-query'],
icons: ['lucide-preact'],
},
},
},
},
server: {
port: 5173,