Skip to content

Commit

Permalink
Don't fail in razzle.extend
Browse files Browse the repository at this point in the history
  • Loading branch information
tiberiuichim committed Mar 6, 2023
1 parent 84e4b4e commit 37269f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion razzle.extend.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const modify = (config, { target, dev }, webpack) => {
config.resolve.alias['@eeacms/search'] = searchlibPath;
include.push(searchlibPath);

if (config.devServer) {
if (config.devServer && config.devServer.watchOptions) {
config.devServer.watchOptions.ignored = /node_modules\/(?!(@plone\/volto|@elastic))/g;
}

Expand Down

0 comments on commit 37269f2

Please sign in to comment.