Skip to content

Fix Windows build compatibility in package scripts#486

Closed
CodexNexor wants to merge 1 commit into
thesysdev:mainfrom
CodexNexor:fix/windows-build-compat
Closed

Fix Windows build compatibility in package scripts#486
CodexNexor wants to merge 1 commit into
thesysdev:mainfrom
CodexNexor:fix/windows-build-compat

Conversation

@CodexNexor

@CodexNexor CodexNexor commented May 4, 2026

Copy link
Copy Markdown

Summary

  • replace Unix-only template/dist cleanup commands with small Node-based scripts in openui-cli, react-ui, and browser-bundle
  • fix packages/react-ui/cp-css.js to resolve import.meta.url with fileURLToPath, which works correctly on Windows paths
  • keep existing build behavior intact on macOS/Linux while making the same flows work under Windows pnpm

Validation

  • ran node packages/openui-cli/scripts/build-templates.mjs
  • ran node packages/browser-bundle/scripts/prepare-dist.mjs
  • ran node packages/react-ui/scripts/clean-dist.mjs

Closes #445.

@vishxrad

Copy link
Copy Markdown
Contributor

Thanks a lot for your contribution! Since this issue is already closed and a pr has been merged, I will close this pr. I would appreciate it if you could take a look at the other open issues and work on them.

@vishxrad vishxrad closed this May 29, 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.

Windows compatibility issues in cp-css.js and openui-cli build:templates script

2 participants