Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation to support recent Next versions #655

Open
gip opened this issue Apr 9, 2024 · 1 comment
Open

Update documentation to support recent Next versions #655

gip opened this issue Apr 9, 2024 · 1 comment

Comments

@gip
Copy link

gip commented Apr 9, 2024

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.

@BlueMoose2
Copy link

BlueMoose2 commented Jan 9, 2025

I second this as I ran into a lot of issues with Next.JS 15. This plus the Issue related to React 19 really need updates since the installation guide does not detail these limitations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants