Skip to content

Fix Windows build compatibility in package scripts#486

Open
CodexNexor wants to merge 1 commit intothesysdev:mainfrom
CodexNexor:fix/windows-build-compat
Open

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

Conversation

@CodexNexor
Copy link
Copy Markdown

@CodexNexor CodexNexor commented May 4, 2026

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.

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

1 participant