Commit 937e734
authored
fix(scripts): use --experimental-strip-types on every Node version (#985)
Node 23 briefly shipped a --strip-types alias that was removed in Node 24,
so scripts/node-ts.js's major-version gate rejected every script on Node 24
with "node: bad option: --strip-types". This broke npm run build:wasm,
deps:tree, and version for any Node 24+ user.
--experimental-strip-types is accepted on 22.x, 23.x, and 24.x, so use it
unconditionally.
Closes #9801 parent b0aecda commit 937e734
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
8 | | - | |
9 | | - | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
0 commit comments