Closed sven-simonsen closed 2 years ago
I was planning on using this: https://www.npmjs.com/package/run-script-os
Would you mind checking it and send a pr if it works coz I don't have any windows os.
Added a PR from a fork. Dunno if that was the correct way to do it, if not just copy the change to a better structured branch.
Describe the bug When running
yarn run prod
on a windows machine the commandexport BUILD_DEV='false'
in package.json fails with'export' is not recognized as an internal or external command
.Expected behavior Replacing all instances of
export
withset
if running on a windows machine fixes the issue. I don't know how to do that in a dynamic way though.