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:
+4
-4
@@ -14,18 +14,18 @@
|
||||
"description": "",
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-free": "^6.7.2",
|
||||
"@gltf-transform/core": "^4.5.1",
|
||||
"@gltf-transform/extensions": "^4.5.1",
|
||||
"@gltf-transform/functions": "^4.5.1",
|
||||
"bootstrap": "^5.3.5",
|
||||
"bs5-lightbox": "^1.8.5",
|
||||
"draco3dgltf": "^1.5.9",
|
||||
"gsap": "^3.13.0",
|
||||
"jquery": "^3.7.1",
|
||||
"three": "^0.185.1",
|
||||
"vite-plugin-static-copy": "^2.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gltf-transform/core": "^4.5.1",
|
||||
"@gltf-transform/extensions": "^4.5.1",
|
||||
"@gltf-transform/functions": "^4.5.1",
|
||||
"draco3dgltf": "^1.5.9",
|
||||
"vite": "^6.2.4",
|
||||
"vite-plugin-minify": "^2.1.0"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user