Skip to content

Commit a4e39ac

Browse files
committed
gltfpack: Update README to account for new file name
meshopt_decoder.js is now ESM, and .module.js doesn't exist.
1 parent 3cf9b3c commit a4e39ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎gltf/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ When working with glTF files that contain point clouds, gltfpack automatically p
2828

2929
## Decompression
3030

31-
When using compressed files, [js/meshopt_decoder.js](https://github.com/zeux/meshoptimizer/blob/master/js/meshopt_decoder.js) or `js/meshopt_decoder.module.js` needs to be loaded to provide the WebAssembly decoder module like this:
31+
When using compressed files, [js/meshopt_decoder.js](https://github.com/zeux/meshoptimizer/blob/master/js/meshopt_decoder.js) needs to be loaded to provide the WebAssembly decoder module like this:
3232

3333
```js
34-
import { MeshoptDecoder } from './meshopt_decoder.module.js';
34+
import { MeshoptDecoder } from './meshopt_decoder.js';
3535

3636
...
3737

0 commit comments

Comments
 (0)