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

Upgrade to Webpack 5 #4083

Closed
wants to merge 1 commit into from
Closed

Conversation

jamilabreu
Copy link
Contributor

Removed:

  1. hard-source-webpack-plugin (now included in Webpack: Error when using with webpack 5 mzgoddard/hard-source-webpack-plugin#514 (comment)
  2. terser-webpack-plugin (now included in Webpack: https://webpack.js.org/plugins/terser-webpack-plugin/)

Changed:

  1. Move from deprecated optimize-css-assets-webpack-plugin ([question] will the 5.x version work with webpack 5? do we have plan to make this plugin work with webpack5? NMFR/optimize-css-assets-webpack-plugin#134 (comment)) to css-minimizer-webpack-plugin
  2. Watcher command changes from '--watch-stdin' to '--watch'

@cw789
Copy link
Contributor

cw789 commented Nov 27, 2020

Hey, have a look at my PR: #4054

@cw789
Copy link
Contributor

cw789 commented Nov 27, 2020

One thing still "problematic", watch mode doesn't work as expected for some people with "lot" of static files ...

@josevalim
Copy link
Member

Closing as duplicate of #4054 for now!

@josevalim josevalim closed this Dec 2, 2020
@szTheory
Copy link
Contributor

@jamilabreu Thanks I was able to upgrade to Webpack 5 and keep live reload with your suggested changes.

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

Successfully merging this pull request may close these issues.

None yet

4 participants