| 1234567891011121314151617181920212223242526272829303132333435 |
- import { defineBuildConfig } from 'unbuild';
- export default defineBuildConfig({
- entries: [
- 'src/index',
- 'src/components/index',
- 'src/hooks/index',
- 'src/api/index'
- ],
- declaration: true,
- clean: true,
- rollup: {
- emitCJS: true,
- esbuild: {
- target: 'node18'
- }
- },
- externals: [
- 'react',
- 'react-dom',
- '@tanstack/react-query',
- 'react-hook-form',
- '@hookform/resolvers',
- 'hono',
- 'sonner',
- 'date-fns',
- 'lucide-react',
- 'class-variance-authority',
- 'clsx',
- 'tailwind-merge',
- 'zod',
- 'axios',
- 'dayjs'
- ]
- });
|