Package Exports
- @gltf-transform/functions
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@gltf-transform/functions) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@gltf-transform/functions
Part of the glTF-Transform project.
- GitHub: https://github.com/donmccurdy/glTF-Transform
- Project Documentation: https://gltf-transform.donmccurdy.com/
- Package Documentation: https://gltf-transform.donmccurdy.com/functions.html
Installation
Install:
npm install --save @gltf-transform/functions
Import:
// ES6
import { dedup } from '@gltf-transform/functions';
// CommonJS
const { dedup } = require('@gltf-transform/functions');
// Use.
await document.transform(dedup({textures: true, accessors: false}));