Open gip opened 5 months ago
Documentation could be updated as for recent version of Next, the next.config.js file should be changed to:
next.config.js
const nextConfig = { reactStrictMode: true, webpack: (config, { webpack }) => { config.plugins.push( new webpack.DefinePlugin({ CESIUM_BASE_URL: JSON.stringify('cesium'), }) ) return config } } export default nextConfig
Happy to do a PR if that helps.
Documentation could be updated as for recent version of Next, the
next.config.js
file should be changed to:Happy to do a PR if that helps.