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

[Webpack 5.x] Upgrade examples + demos to webpack 5.x #532

Open
mdhsl opened this issue Oct 2, 2021 · 1 comment
Open

[Webpack 5.x] Upgrade examples + demos to webpack 5.x #532

mdhsl opened this issue Oct 2, 2021 · 1 comment

Comments

@mdhsl
Copy link
Member

mdhsl commented Oct 2, 2021

No description provided.

@mdhsl
Copy link
Member Author

mdhsl commented Oct 2, 2021

After getting issue while compiling Cesium 1.85.x using Webpack 4.x, it seems that using webpack 5.x fixes the issue.

Anyway, in a continuous evolutionary logic of the Toolkit, it is interesting to upgrade the versions of the libs when we need them.

We have also to upgrade/update:

  • upgrade webpack, webpack-cli to 5.x and all associated plugins to last version
  • Update copy plugin setup (has been changed)
  • Remove options from worker-loader plugin (see https://webpack.js.org/guides/web-workers/#root)
  • Update showcase
  • Update demos
  • Replace node: { fs: 'empty' } by
resolve: {
    fallback : {
      "path": require.resolve("path-browserify"),
      "crypto": false,
      fs: false
    }
}

@mdhsl mdhsl changed the title [Webpack 6 [Webpack 5.x] Upgrade examples + demos to webpack 5.x Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant