Co-authored-by: robertkasza <167509084+robertkasza@users.noreply.github.com> Co-authored-by: Nuno Pato <nunopato@gmail.com> Co-authored-by: David BM <correodelnino@gmail.com>
15 lines
343 B
JavaScript
15 lines
343 B
JavaScript
import { defineConfig } from 'vite'
|
|
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
import baseLibConfig from './vite.lib.config'
|
|
|
|
export default defineConfig({
|
|
...baseLibConfig,
|
|
optimizeDeps: {
|
|
include: ['react/jsx-runtime'],
|
|
exclude: ['react-hook-form']
|
|
},
|
|
plugins: [react({ jsxRuntime: 'classic' }), ...baseLibConfig.plugins]
|
|
})
|