Skip to content

Commit

Permalink
Vite configuration
Browse files Browse the repository at this point in the history
Three.js addons
  • Loading branch information
jasonsturges committed Nov 6, 2024
1 parent d4c6dc8 commit 347d8a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ export default defineConfig({
output: {
globals: {
three: "THREE",
"three/addons/objects/Sky.js": "Sky",
"three/addons/postprocessing/EffectComposer.js": "EffectComposer",
"three/addons/postprocessing/RenderPass.js": "RenderPass",
"three/addons/postprocessing/ShaderPass.js": "ShaderPass",
"three/addons/utils/BufferGeometryUtils.js": "BufferGeometryUtils",
},
},
Expand Down

0 comments on commit 347d8a3

Please sign in to comment.