mirror of
https://github.com/colanode/colanode.git
synced 2026-05-18 05:05:03 +02:00
Manually add dedupe for react in vite react plugin for react (#186)
This commit is contained in:
@@ -23,6 +23,7 @@ export default defineConfig((env) => {
|
||||
},
|
||||
plugins: [react(), pluginExposeRenderer(name)],
|
||||
resolve: {
|
||||
dedupe: ['react', 'react-dom'],
|
||||
alias: {
|
||||
'@colanode/desktop': path.resolve(__dirname, './src'),
|
||||
'@colanode/core': path.resolve(__dirname, '../../packages/core/src'),
|
||||
|
||||
Reference in New Issue
Block a user