When loading a draco gltf model on a development build, I have no issue anywhere. When loading a draco gltf model on Safari iOS in production, I have a load of errors (
THREE.DracoLoader: Unexpected attribute type). It works on any other device/browser, and fails only on my production build.
In my experience, minification and optimization of code for production sometimes produces code that will fail on specific browsers, but I’m a bit clueless for this one. Did anyone ever experience that, and what would be a fix?
The build is made with webpack 4.41.2, and it fails with both wasm and js draco decoders.