import { defineConfig } from 'vite';
import path from 'path';

export default defineConfig({
    build: {
        lib: {
            entry: path.resolve(__dirname, 'src/ai-json-schema.js'),
            name: 'AiJsonSchema',
            fileName: 'ai-json-schema',
            formats: ['es'],
        },
        outDir: 'dist',
        rollupOptions: {},
    },
});
