@cypress/webpack-dev-server 5.1.3 → 5.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -338,7 +338,7 @@ function sourceNextWebpack(devServerConfig, framework) {
|
|
|
338
338
|
function watchEntryPoint(webpackConfig) {
|
|
339
339
|
if (webpackConfig.watchOptions && Array.isArray(webpackConfig.watchOptions.ignored)) {
|
|
340
340
|
webpackConfig.watchOptions = Object.assign(Object.assign({}, webpackConfig.watchOptions), { ignored: [...webpackConfig.watchOptions.ignored.filter((pattern) => !/node_modules/.test(pattern)), '**/node_modules/!(@cypress/webpack-dev-server/dist/browser.js)**'] });
|
|
341
|
-
debug('found options next.js watchOptions.ignored %
|
|
341
|
+
debug('found options next.js watchOptions.ignored %o', webpackConfig.watchOptions.ignored);
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
// We are matching the Next.js regex rules exactly. If we were writing our own loader, we could
|