I ran into some issues attempting to follow the webpack example setup but got around it after tinkering with it a little:
a few packages kept failing to compile, so I had to setup a fallback in my webpack.config.js including: stream-http, https-browserify, browserify-zlib, buffer/, url/, assert/, util/, and stream-browserify
in the final index.js code, the modules createWorldTerrain() and createOsmBuildings() are deprecated, please update that to reflect the changes made with the latest version of 1.112.0; createWorldTerrainAsync() and createOsmBuildingsAsync() are the newly replaced modules
I ran into some issues attempting to follow the webpack example setup but got around it after tinkering with it a little: