g6/packages/g6-extension-react/vite.config.js
Aaron 79c18aa59d
feat: add HTML node, g node, react node (#5654)
* feat(elements): add html node

* fix: fix issue that unexpected invoke sequence cause exception

* refactor: adjust exports

* feat(react): create g6-extension-react

* test: update test case

* chore: update dependencies

* fix: fix cr issue

* chore: adjust jest config
2024-04-18 10:05:05 +08:00

17 lines
298 B
JavaScript

import path from 'path';
import { defineConfig } from 'vite';
export default defineConfig({
root: './__tests__',
server: {
port: 8082,
open: '/',
},
plugins: [{ name: 'isolation' }],
resolve: {
alias: {
'@antv/g6': path.resolve(__dirname, '../g6/src'),
},
},
});