feat: integrate Draco compression for 3D models in backoffice

- Added support for uploading and compressing GLB models using Draco in the backoffice.
- Implemented commands for importing and re-compressing 3D models.
- Updated model resource to handle 3D model uploads and validations.
- Introduced a new script for compressing GLB files with Draco.
- Modified Vite configuration to remove GLB files from the build output.
- Updated package dependencies to include GLTF-transform libraries for handling 3D models.
- Added tests to ensure proper functionality of 3D model handling and compression.
This commit is contained in:
2026-11-01 10:35:50 +01:00
parent 24f9e59654
commit 1208187a17
32 changed files with 895 additions and 52 deletions
+12 -12
View File
@@ -11,12 +11,24 @@ importers:
'@fortawesome/fontawesome-free':
specifier: ^6.7.2
version: 6.7.2
'@gltf-transform/core':
specifier: ^4.5.1
version: 4.5.1
'@gltf-transform/extensions':
specifier: ^4.5.1
version: 4.5.1
'@gltf-transform/functions':
specifier: ^4.5.1
version: 4.5.1
bootstrap:
specifier: ^5.3.5
version: 5.3.8(@popperjs/core@2.11.8)
bs5-lightbox:
specifier: ^1.8.5
version: 1.8.5(bootstrap@5.3.8(@popperjs/core@2.11.8))
draco3dgltf:
specifier: ^1.5.9
version: 1.5.9
gsap:
specifier: ^3.13.0
version: 3.15.0
@@ -30,18 +42,6 @@ importers:
specifier: ^2.3.0
version: 2.3.2(vite@6.4.5(terser@5.51.2))
devDependencies:
'@gltf-transform/core':
specifier: ^4.5.1
version: 4.5.1
'@gltf-transform/extensions':
specifier: ^4.5.1
version: 4.5.1
'@gltf-transform/functions':
specifier: ^4.5.1
version: 4.5.1
draco3dgltf:
specifier: ^1.5.9
version: 1.5.9
vite:
specifier: ^6.2.4
version: 6.4.5(terser@5.51.2)