Skip to content

fix: use cross-env for Windows build compatibility#20

Merged
4ier merged 1 commit intomainfrom
fix/windows-build
Mar 9, 2026
Merged

fix: use cross-env for Windows build compatibility#20
4ier merged 1 commit intomainfrom
fix/windows-build

Conversation

@4ier
Copy link
Copy Markdown
Owner

@4ier 4ier commented Mar 9, 2026

Problem

npm run build fails on Windows because NEO_ENTRY=xxx command is Unix shell syntax — Windows cmd/PowerShell doesn't support inline env vars.

Fix

  • Add cross-env as devDependency
  • Prefix each build step with cross-env

Build tested on Linux — all 3 entries (background, content, inject) pass.

Closes #19

@4ier 4ier merged commit a6ab232 into main Mar 9, 2026
1 check passed
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.

npm run build not working on Windows

1 participant