frenchtoast747 / webgl-obj-loader

A simple OBJ model loader to help facilitate the learning of WebGL.
http://frenchtoast747.github.io/webgl-obj-loader/
MIT License
283 stars 59 forks source link

Fixed file extensions for native modules #57

Closed SabineWren closed 6 years ago

SabineWren commented 6 years ago

I added file extensions to the script module imports. This has no effect on Rollup, while allowing native imports with Chromium and future versions of Firefox. Native imports let developers use an index-dev.html for development without having to run a build process on every change, but still allows bundling the scripts with Rollup for deployment. It's a trivial change that makes it faster to incrementally modify scripts.

frenchtoast747 commented 6 years ago

Looks good. Thanks for the contribution!