Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Use import statement
  • Loading branch information
zeux authored Apr 18, 2020
1 parent 5f94291 commit 710f778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gltf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ gltfpack can also compress textures using Basis Universal format, either storing
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:

```js
<script src="js/meshopt_decoder.js"></script>
import MeshoptDecoder from "./meshopt_decoder";

...

Expand Down

0 comments on commit 710f778

Please sign in to comment.