You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #1318 Drop support of webpack-dev-server ^4.8, add support for webpack-dev-server ^5.0 (Kocal)
This PR was merged into the main branch.
Discussion
----------
Drop support of webpack-dev-server ^4.8, add support for webpack-dev-server ^5.0
Close#1290
Upgrade webpack-dev-server didn't have impact for Encore itself, but it can be the case for end-users.
After upgrading webpack-dev-server to ^5.0, my project that use the following devServer configuration is still working as expected:
```js
Encore.configureDevServerOptions((options) => {
options.allowedHosts = 'all';
options.client = {
overlay: false, // hidden overlay: multiple errors caused by third-party scripts
};
options.server = {
type: 'https',
options: {
pfx: path.join(process.env.HOME, '.symfony5/certs/default.p12'),
},
};
})
```
Commits
-------
c521591 Drop support of webpack-dev-server ^4.8, add support for webpack-dev-server ^5.0
*#1324 Drop css-minimizer-webpack-plugin 5 support, only css-minimizer-webpack-plugin 7 is supported (@Kocal)
41
41
42
+
*#1318 Drop webpack-dev-server 4 support, only webpack-dev-server 5 is supported (@Kocal)
43
+
44
+
The dev-server options have changed between versions 4 and 5, see [the official migration guide to v5](https://github.com/webpack/webpack-dev-server/blob/master/migration-v5.md).
0 commit comments