Skip to content

Commit

Permalink
Revert isolation of WebGPU.Nodes build
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Oct 15, 2024
1 parent ccbd227 commit a77ae70
Showing 1 changed file with 1 addition and 37 deletions.
38 changes: 1 addition & 37 deletions utils/build/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,24 +66,6 @@ const builds = [
'three.core.js': 'src/Three.core.js',
'three.module.js': 'src/Three.js',
'three.webgpu.js': 'src/Three.WebGPU.js',
},
plugins: [
glsl(),
header()
],
preserveEntrySignatures: 'allow-extension',
output: [
{
format: 'esm',
dir: 'build',
minifyInternalExports: false,
entryFileNames: '[name]',
}
]
},
{
input: {
'three.core.js': 'src/Three.core.js',
'three.webgpu.nodes.js': 'src/Three.WebGPU.Nodes.js',
},
plugins: [
Expand All @@ -105,24 +87,6 @@ const builds = [
'three.core.min.js': 'src/Three.core.js',
'three.module.min.js': 'src/Three.js',
'three.webgpu.min.js': 'src/Three.WebGPU.js',
},
plugins: [
glsl(),
header(),
terser()
],
preserveEntrySignatures: 'allow-extension',
output: [
{
format: 'esm',
dir: 'build',
entryFileNames: '[name]',
}
]
},
{
input: {
'three.core.min.js': 'src/Three.core.js',
'three.webgpu.nodes.min.js': 'src/Three.WebGPU.Nodes.js',
},
plugins: [
Expand Down Expand Up @@ -153,7 +117,7 @@ const builds = [
indent: '\t'
}
]
},
}
];

export default ( args ) => args.configOnlyModule ? builds.slice( 0, 3 ) : builds;

0 comments on commit a77ae70

Please sign in to comment.