ol-cesium-webpack-example
ol-cesium-webpack-example copied to clipboard
Cesium3DTileset does not work
Hello, I found a bug that Cesium3DTileset does not work in this example. I thought it missed some dependencies, such as ThirdParty
.
This is the webpack.config.js
that I had updated a few codes
new CopyWebpackPlugin([{ from: path.join(cesiumSource, cesiumWorkers), to: 'Workers' }]),
new CopyWebpackPlugin([{ from: path.join(cesiumSource, 'Assets'), to: 'Assets' }]),
new CopyWebpackPlugin([{ from: path.join(cesiumSource, 'Widgets'), to: 'Widgets' }]),
new CopyWebpackPlugin([{ from: path.join(cesiumSource, 'ThirdParty'), to: 'ThirdParty' }]),
Best wishes!