Skip to content

Fix the use of generate.mjs on Windows#202

Open
Jiawei-Shao wants to merge 1 commit into
gpuweb:mainfrom
Jiawei-Shao:fix-generate-mjs-windows
Open

Fix the use of generate.mjs on Windows#202
Jiawei-Shao wants to merge 1 commit into
gpuweb:mainfrom
Jiawei-Shao:fix-generate-mjs-windows

Conversation

@Jiawei-Shao
Copy link
Copy Markdown
Contributor

Replace bikeshed-to-ts and prettier with bare command names (bikeshed-to-ts, prettier). The ./ prefix is not recognized by cmd.exe, causing npm run generate to fail on Windows. Since npm run adds .bin to PATH, we can directly use bare command names on all platforms.

Replace `bikeshed-to-ts` and `prettier` with bare command names
(`bikeshed-to-ts`, `prettier`). The `./ prefix` is not recognized by
`cmd.exe`, causing `npm run generate` to fail on Windows. Since
`npm run` adds `.bin` to `PATH`, we can directly use bare command
names on all platforms.
@Jiawei-Shao Jiawei-Shao requested review from Kangz and kainino0x May 13, 2026 03:18
@Jiawei-Shao Jiawei-Shao changed the title fix: use bare command names for Windows compatibility in generate.mjs Fix the use of generate.mjs on Windows May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant