plone / volto

React-based frontend for the Plone Content Management System
https://demo.plone.org/
MIT License
426 stars 575 forks source link

Fix HMR of @plone/volto #4799

Closed davisagli closed 11 months ago

davisagli commented 11 months ago

Fixes #4798

With webpack 5, we need to also exclude node_modules/@plone/volto from the webpack cache, in addition to not ignoring it when watching for file updates. -- based on https://webpack.js.org/configuration/other-options/#managedpaths

Don't backport to volto 16.

netlify[bot] commented 11 months ago

Deploy Preview for volto canceled.

Name Link
Latest commit b473cfd8a7412fdd16bc05ff5d9f8e1966a0bcbd
Latest deploy log https://app.netlify.com/sites/volto/deploys/646bc9426da24500083dc110
cypress[bot] commented 11 months ago

Passing run #5247 ↗︎

0 493 20 0 Flakiness 0

Details:

changelog
Project: Volto Commit: b473cfd8a7
Status: Passed Duration: 14:14 💡
Started: May 22, 2023 8:01 PM Ended: May 22, 2023 8:15 PM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.