g6/packages/g6-extension-3d/vite.config.js
Aaron da5297cd8c
feat: add 3d elements, plugin (#5597)
* 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
2024-03-29 11:57:10 +08:00

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'),
},
},
});