mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 04:38:55 +08:00
da5297cd8c
* refactor: adjust exports, use enum replace const enum * fix: fix issue that unexpected z attr * feat(utils): add TupleMap and getCacheKey * feat(elements): add 3d elements * feat(plugins): add 3d light * refactor: adjust 3d renderer * refactor: adjust exports * test: add demos * chore: config packages.json, jest config * test: fix test case * chore: update g6-extension-3d version * chore: setup project configs * test: fix demo type issue * chore: config tsconfig for type-check
17 lines
298 B
JavaScript
17 lines
298 B
JavaScript
import path from 'path';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
root: './__tests__',
|
|
server: {
|
|
port: 8081,
|
|
open: '/',
|
|
},
|
|
plugins: [{ name: 'isolation' }],
|
|
resolve: {
|
|
alias: {
|
|
'@antv/g6': path.resolve(__dirname, '../g6/src'),
|
|
},
|
|
},
|
|
});
|