mirror of
https://gitee.com/antv/g6.git
synced 2024-12-05 05:09:07 +08:00
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'),
|
||
|
},
|
||
|
},
|
||
|
});
|