fix: build issue with fsevents on macOS

This commit is contained in:
Thomas Vaillant
2021-01-20 10:04:13 +01:00
committed by Thomas Vaillant
parent e3b74be059
commit 9f2a25c251

View File

@@ -36,6 +36,9 @@ module.exports = withBundleAnalyzer({
return /node_modules/.test(excludePath.replace(config.context, ""));
};
// To avoid issues with fsevents during the build, especially on macOS
config.externals.push("chokidar");
return config;
},
future: {