Skip to content

Commit

Permalink
Merge branch 'main' into feat/joints
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Jan 20, 2025
2 parents c1a6ffd + f8af939 commit 778d943
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
"recommendations": ["Vue.volar"]
}
5 changes: 3 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default defineConfig({
open: true,
}), */
],
external: ['three', 'vue', '@tresjs/core'],
external: ['three', 'vue', '@tresjs/core', '@dimforge/rapier3d-compat'],
output: {
exports: 'named',
// Provide global variables to use in the UMD build
Expand All @@ -61,11 +61,12 @@ export default defineConfig({
'@tresjs/core': 'TresjsCore',
'three': 'Three',
'vue': 'Vue',
'@dimforge/rapier3d-compat': 'Rapier3dCompat',
},
},
},
},
optimizeDeps: {
exclude: ['three', 'vue', '@tresjs/core'],
exclude: ['three', 'vue', '@tresjs/core', '@dimforge/rapier3d-compat'],
},
})

0 comments on commit 778d943

Please sign in to comment.