mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-13 13:17:40 +02:00
[eric] 9router windows CI fix v2: webpack ignore must be single regex (not array mixing regex+globs which fails validation) — combine logs/.next/Application
Data/Local Settings into one regex; snapshot.managedPaths still empty for the actual EPERM mitigation
This commit is contained in:
@@ -21,14 +21,10 @@ const nextConfig = {
|
||||
// back on themselves and cause `EPERM: operation not permitted, scandir`
|
||||
// on GitHub Actions runners (cascades into FlightClientEntryPlugin
|
||||
// crash). Local Windows users with normal accounts don't hit this.
|
||||
// Single regex (webpack rejects mixed regex + glob strings in array).
|
||||
config.watchOptions = {
|
||||
...config.watchOptions,
|
||||
ignored: [
|
||||
/[\\/](logs|\.next)[\\/]/,
|
||||
'**/Application Data/**',
|
||||
'**/Local Settings/**',
|
||||
'**/AppData/Local/Application Data/**',
|
||||
],
|
||||
ignored: /[\\/](logs|\.next|Application Data|Local Settings)[\\/]/,
|
||||
};
|
||||
// Disable webpack's user-profile + node_modules snapshotting that
|
||||
// triggers the same EPERM scan during `next build` on CI Windows.
|
||||
|
||||
Reference in New Issue
Block a user