You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the code, this sounds like a bug in webpack where it is trying to parse and handle those requires even though they are contained inside an if block that does not get executed in the browser. Assuming webpack does not handle dynamic requires, is there at least a way to have them ignored?
Since crunch.js is output from emscripten and I believe is generated to work both in Node and the browser, I'm not sure what a good solution would be here. Have you filed an issue with webpack?
There's a webpack build issue in our app when running from the latest 3d-tiles branch...
I notice this PR contains
var nodeFS=require("fs")
in crunch.js so is a likely cause of the problem.The text was updated successfully, but these errors were encountered: