Skip to content

Commit

Permalink
update vite config
Browse files Browse the repository at this point in the history
  • Loading branch information
kasinskas committed Sep 29, 2023
1 parent b71db90 commit ee3cf91
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/engine-lightning-solid/supportFiles/vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,17 @@ export default defineConfig({
}),
],
resolve: {
dedupe: ['solid-js'],
dedupe: ['solid-js', '@lightningjs/solid'],
extensions: process.env.RNV_EXTENSIONS.split(',').map((e) => `.${e}`),
},
optimizeDeps: {
include: [],
exclude: ['@lightningjs/solid', '@lightningjs/renderer/core', '@lightningjs/renderer/workers/renderer'],
exclude: [
'@lightningjs/solid',
'@lightningjs/solid-primitives',
'@lightningjs/renderer/core',
'@lightningjs/renderer/workers/renderer',
],
},
server: {
hmr: false,
Expand Down

0 comments on commit ee3cf91

Please sign in to comment.