Something went wrong. Try again.
TypeScript client for accessing TLE Community.
Something went wrong. Try again.
1234567891011121314151617import { defineConfig } from 'vite';import dts from 'vite-plugin-dts';
export default defineConfig({ build: { lib: { entry: './lib/index', name: 'client', // Pinned explicitly: the defaults are derived from `type` and the Vite version, so an // upgrade can silently rename the output and desync it from the `exports` map in package.json. formats: ['es', 'umd'], fileName: (format) => (format === 'es' ? 'client.js' : 'client.umd.cjs'), }, }, plugins: [dts()],});