@needle-tools/gltf-build-pipeline 2.3.0-alpha.1 → 2.3.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,9 @@ All notable changes to this package will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [2.3.0-alpha.2] - 2023-06-26
8
+ - change: usecase `product` does compress with UASTC again (for certain slots)
9
+
7
10
  ## [2.3.0-alpha.1] - 2023-06-23
8
11
  - change: bump gltf-transform to 4.0.2 to fix meshopt skinning regression [1439](https://github.com/donmccurdy/glTF-Transform/pull/1439)
9
12
 
@@ -147,10 +147,7 @@ async function processTexture(texture, index, document, logger, context) {
147
147
  // if (slots.includes("metallicRoughnessTexture"))
148
148
  // mimeType = "image/webp";
149
149
  const isVRM = context.file?.toLowerCase().endsWith(".vrm");
150
- if (context.config?.usecase === "product") {
151
- mimeType = "image/webp";
152
- }
153
- else if (slots.includes("lightmapTexture") || isLightmap(texture)) {
150
+ if (slots.includes("lightmapTexture") || isLightmap(texture)) {
154
151
  mimeType = "image/webp";
155
152
  }
156
153
  // TODO: need to make this into a function
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@needle-tools/gltf-build-pipeline",
3
- "version": "2.3.0-alpha.1",
3
+ "version": "2.3.0-alpha.2",
4
4
  "description": "Pipeline and tools for optimizing gltf files using gltf-transform and compression settings within glTF extensions",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",