Comments (5)
Hm... I tried re-publishing the module myself from the master branch, compiling that with bundle.run
, and the result is still broken. Maybe this is a bug in bundle.run
...
from gltf-js-utils.
Ok, it's something about the TS->JS transpilation?
- https://github.com/wnayes/glTF-js-utils/blob/master/src/buffer.ts#L178-L183
- https://github.com/wnayes/glTF-js-utils/blob/master/dist/buffer.js#L142-L147
The JS version is not equivalent to the TS. :/
from gltf-js-utils.
It looks to me like I must have compiled the individual .ts
files at an earlier state of development, and then eventually changed how the module build was done. They no longer change when I run npm run build
, the only maintained output is the /dist/gltfutils.js
UMD module.
I could delete the individual compiled files, or would it be useful to maintain those?
from gltf-js-utils.
Thanks! I’m not typically used to seeing individual files in a dist/ folder, so just having the one file would be fine from my perspective. Sounds like a fix for #1 would solve this as well — I only tried to use index.js
because the default entry point didn’t work for me.
from gltf-js-utils.
Installing the latest version from NPM, I no longer have this issue. 🎉
from gltf-js-utils.
Related Issues (12)
- npm package has invalid entrypoint HOT 2
- Module on npm is out of date HOT 2
- .glb file did not generated HOT 1
- Add binary (.glb) support HOT 3
- Image as Texture HOT 2
- Point cloud
- ACCESSOR_VECTOR3_NON_UNIT error on GLTF validator HOT 2
- Can I use glTF-js-utils work with Node.js (Server-side)? HOT 3
- Issues with mesh and vertex interface HOT 3
- Question about creating geometry buffers HOT 2
- ReferenceError: window is not defined HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gltf-js-utils.