Skip to content

Commit

Permalink
Remove devserver settings for HMR of volto (#6511)
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Piercy <[email protected]>
  • Loading branch information
davisagli and stevepiercy authored Dec 5, 2024
1 parent bb531a8 commit d4f38f3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions packages/volto/news/6511.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix warnings related to `snapshot.managedPaths` on startup. @davisagli
9 changes: 0 additions & 9 deletions packages/volto/razzle.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit d4f38f3

Please sign in to comment.