mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
fix(v3): exclude node_modules from build:frontend sources glob (#4983)
* fix(v3): exclude node_modules from build:frontend sources glob The `sources: "**/*"` glob in the build:frontend task causes go-task to enumerate and checksum every file in node_modules during up-to-date checking. With heavy dependencies (e.g. MUI), this means 50-100k+ files are statted, causing 20-30 minute hangs especially on Windows/NTFS. Fixes #4939 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * docs(v3): add changelog entry for #4939 fix * chore: trigger CI re-run with fixed workflow --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
bb5f0edc8b
commit
b2be682176
10 changed files with 11 additions and 0 deletions
|
|
@ -24,6 +24,8 @@ After processing, the content will be moved to the main changelog and this file
|
|||
## Fixed
|
||||
<!-- Bug fixes -->
|
||||
|
||||
- Fix 20-30 minute hangs during `wails3 build` and `wails3 dev` by excluding `node_modules/` from go-task's up-to-date checking. Previously, the `sources: "**/*"` glob caused go-task to enumerate and checksum every file in `node_modules/` (50-100k+ files with heavy dependencies like MUI), especially slow on Windows/NTFS (#4939)
|
||||
|
||||
## Deprecated
|
||||
<!-- Soon-to-be removed features -->
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ tasks:
|
|||
dir: frontend
|
||||
sources:
|
||||
- "**/*"
|
||||
- exclude: node_modules/**/*
|
||||
generates:
|
||||
- dist/**/*
|
||||
deps:
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ tasks:
|
|||
dir: frontend
|
||||
sources:
|
||||
- "**/*"
|
||||
- exclude: node_modules/**/*
|
||||
generates:
|
||||
- dist/**/*
|
||||
deps:
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ tasks:
|
|||
dir: frontend
|
||||
sources:
|
||||
- "**/*"
|
||||
- exclude: node_modules/**/*
|
||||
generates:
|
||||
- dist/**/*
|
||||
deps:
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ tasks:
|
|||
dir: frontend
|
||||
sources:
|
||||
- "**/*"
|
||||
- exclude: node_modules/**/*
|
||||
generates:
|
||||
- dist/**/*
|
||||
deps:
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ tasks:
|
|||
dir: frontend
|
||||
sources:
|
||||
- "**/*"
|
||||
- exclude: node_modules/**/*
|
||||
generates:
|
||||
- dist/**/*
|
||||
deps:
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ tasks:
|
|||
dir: frontend
|
||||
sources:
|
||||
- "**/*"
|
||||
- exclude: node_modules/**/*
|
||||
generates:
|
||||
- dist/*
|
||||
deps:
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ tasks:
|
|||
dir: frontend
|
||||
sources:
|
||||
- "**/*"
|
||||
- exclude: node_modules/**/*
|
||||
generates:
|
||||
- dist/**/*
|
||||
deps:
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ tasks:
|
|||
dir: frontend
|
||||
sources:
|
||||
- "**/*"
|
||||
- exclude: node_modules/**/*
|
||||
generates:
|
||||
- dist/**/*
|
||||
deps:
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ tasks:
|
|||
dir: frontend
|
||||
sources:
|
||||
- "**/*"
|
||||
- exclude: node_modules/**/*
|
||||
generates:
|
||||
- dist/**/*
|
||||
deps:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue