resium
resium copied to clipboard
Update documentation to support recent Next versions
Documentation could be updated as for recent version of Next, the next.config.js
file should be changed to:
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.