diff --git a/src/Three.WebGPU.js b/src/Three.WebGPU.js index 1f9f222c7cce15..e83d18ef85d539 100644 --- a/src/Three.WebGPU.js +++ b/src/Three.WebGPU.js @@ -1,7 +1,7 @@ export * from './Three.core.js'; export * from './materials/nodes/NodeMaterials.js'; -export { default as WebGPURenderer } from './renderers/webgpu/WebGPURenderer.js'; +export { default as WebGLRenderer, default as WebGPURenderer } from './renderers/webgpu/WebGPURenderer.js'; export { default as Lighting } from './renderers/common/Lighting.js'; export { default as BundleGroup } from './renderers/common/BundleGroup.js'; export { default as QuadMesh } from './renderers/common/QuadMesh.js'; diff --git a/utils/build/rollup.config.js b/utils/build/rollup.config.js index ef1867b58e04d8..32e099ecf2b06d 100644 --- a/utils/build/rollup.config.js +++ b/utils/build/rollup.config.js @@ -86,7 +86,7 @@ const builds = [ { input: { 'three.core.js': 'src/Three.core.js', - 'three.module.js': 'src/Three.js', + 'three.module.js': 'src/Three.WebGPU.js', 'three.webgpu.js': 'src/Three.WebGPU.js', }, plugins: [ @@ -144,7 +144,7 @@ const builds = [ { input: { 'three.core.min.js': 'src/Three.core.js', - 'three.module.min.js': 'src/Three.js', + 'three.module.min.js': 'src/Three.WebGPU.js', 'three.webgpu.min.js': 'src/Three.WebGPU.js', }, plugins: [