@needle-tools/gltf-build-pipeline 1.4.1-beta.6 → 1.4.1-beta.7
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/index.mjs +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -34,7 +34,9 @@ try {
|
|
|
34
34
|
runWithArgs("node make-progressive.mjs");
|
|
35
35
|
runWithArgs("node pack-gltf.mjs");
|
|
36
36
|
const durationInMinutes = ((Date.now() - startTime) / 1000 / 60).toFixed(1);
|
|
37
|
-
console.log(`[Needle Build Pipeline] v${getVersion()} — Finished progressive transform and optimization in ${durationInMinutes} minutes.`)
|
|
37
|
+
console.log(`[Needle Build Pipeline] v${getVersion()} — Finished progressive transform and optimization in ${durationInMinutes} minutes.`);
|
|
38
|
+
// small delay to not close the process immediately and give external processes some time to read the output
|
|
39
|
+
await new Promise(resolve => setTimeout(resolve, 100));
|
|
38
40
|
}
|
|
39
41
|
catch (err) {
|
|
40
42
|
console.error("Failed running commandline args:", err.message);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@needle-tools/gltf-build-pipeline",
|
|
3
|
-
"version": "1.4.1-beta.
|
|
3
|
+
"version": "1.4.1-beta.7",
|
|
4
4
|
"description": "Pipeline and tools for optimizing gltf files using gltf-transform and compression settings within glTF extensions",
|
|
5
5
|
"main": "index.mjs",
|
|
6
6
|
"type": "module",
|