Closed m-mohr closed 1 year ago
So I've tried it in the webpack-5 example that is in this repo and it works if I run it from a TS file, but in a JS file (I basically just renamed index.ts to index.js) I get the same issue as reported above. I assume loaders.gl is meant to also work with JS?
As a temporary solution, I've added
parser: {
javascript: {
exportsPresence: "warn",
},
},
to the webpack.config
in "I3S Explorer". See https://github.com/visgl/loaders.gl-showcases/blob/master/webpack.prod.config.js#L11
I am hoping changes in this PR will fix it: https://github.com/visgl/loaders.gl/pull/2730.
I think the root cause was a an output file was being clobbered in the new build tooling setup so I renamed it.
Let's test again when beta.8 comes out, hopefully later today.
It did, thanks a lot!
I'm trying to load a GeoParquet file using the loaders.gl 4.0.0-beta.7:
Unfortunately, I'm getting:
I'm building with webpack 5.88.2.