Commit f4e7f7a
fix: tolerate Browserslist data-age warning in build script
scripts/build.js treats any babel stderr output (other than Node/babel
deprecation warnings) as a build failure. When caniuse-lite ages past
~6 months, Browserslist prints a "browsers data is N months old" notice
to stderr, which fails `yarn build:stable` in CI for reasons unrelated to
the actual change.
Add `Browserslist` to the ignore pattern so this informational notice is
not treated as a failure. The companion caniuse-lite refresh fixes the
current instance; this prevents the build from breaking again as the data
ages.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent e162de7 commit f4e7f7a
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
0 commit comments