diff --git a/packages/volto/news/6511.bugfix b/packages/volto/news/6511.bugfix new file mode 100644 index 0000000000..cd5dccfb9e --- /dev/null +++ b/packages/volto/news/6511.bugfix @@ -0,0 +1 @@ +Fix warnings related to `snapshot.managedPaths` on startup. @davisagli diff --git a/packages/volto/razzle.config.js b/packages/volto/razzle.config.js index a37df657ac..5ab88cb132 100644 --- a/packages/volto/razzle.config.js +++ b/packages/volto/razzle.config.js @@ -414,15 +414,6 @@ const defaultModify = ({ ] : []; - if (config.devServer) { - config.devServer.static.watch.ignored = /node_modules\/(?!@plone\/volto)/; - config.snapshot = { - managedPaths: [ - /^(.+?[\\/]node_modules[\\/](?!(@plone[\\/]volto))(@.+?[\\/])?.+?)[\\/]/, - ], - }; - } - return config; };