File tree 4 files changed +3
-11
lines changed
4 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 1
1
import type { Canvas } from '@antv/g' ;
2
2
import { Graph } from '@antv/graphlib' ;
3
3
import type { GUI } from 'lil-gui' ;
4
- import { CircularLayout } from '@antv /layout' ;
4
+ import { CircularLayout } from '../../../packages /layout' ;
5
5
import { countries } from '../data' ;
6
6
import { renderNodes } from '../utils' ;
7
7
Original file line number Diff line number Diff line change 1
1
import type { Canvas } from '@antv/g' ;
2
2
import { Graph } from '@antv/graphlib' ;
3
- import { ConcentricLayout } from '@antv /layout' ;
3
+ import { ConcentricLayout } from '../../../packages /layout' ;
4
4
import { countries } from '../data' ;
5
5
import { renderNodes } from '../utils' ;
6
6
Original file line number Diff line number Diff line change 6
6
"jsx" : " react" ,
7
7
"allowJs" : true ,
8
8
"moduleResolution" : " node" ,
9
- "allowSyntheticDefaultImports" : true ,
10
- "paths" : {
11
- "@antv/layout" : [" ./packages/layout/src/index.ts" ],
12
- }
9
+ "allowSyntheticDefaultImports" : true
13
10
}
14
11
}
Original file line number Diff line number Diff line change @@ -9,11 +9,6 @@ export default defineConfig({
9
9
} ,
10
10
// publicDir: "../packages/layout-wasm/dist",
11
11
base : '/layout/' ,
12
- resolve : {
13
- alias : {
14
- '@antv/layout' : './packages/layout/src/index.ts' ,
15
- } ,
16
- } ,
17
12
build : {
18
13
rollupOptions : {
19
14
input : {
You can’t perform that action at this time.
0 commit comments