import pkg from '../packages/vtable/package.json'; import * as path from 'path'; import react from '@vitejs/plugin-react'; export default { optimizeDeps: {}, server: { host: '0.0.0.0', port: 3020, https: !!process.env.HTTPS, open: true }, define: { __DEV__: true, __VERSION__: JSON.stringify(pkg.version) }, resolve: { alias: { '@visactor/vtable': path.resolve('../packages/vtable/src/index.ts') } }, plugins: [react()] };