Skip to content

Commit d966bf1

Browse files
authored
fix(dev): refactor: update server configuration and path resolution (#142)
* fix(dev): refactor: update server configuration and path resolution * refactor(dev): Simplified configuration
1 parent 9022d83 commit d966bf1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

dev/vite.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ import tsconfigPaths from 'vite-tsconfig-paths';
33

44
export default defineConfig({
55
server: {
6-
host: 'local.alipay.com',
6+
fs: {
7+
allow: ['..'],
8+
}
79
},
8-
plugins: [tsconfigPaths()],
10+
plugins: [tsconfigPaths({root: "../"})],
911
optimizeDeps: {
1012
exclude: ['@antv/infographic', '@antv/hierarchy'],
1113
},

0 commit comments

Comments
 (0)