Skip to content

Conversation

ToddHedrick
Copy link

@zendesk/vegemite

Description

The two files in the rollup folder do not work properly when trying to build the package on a Windows machine.
Since Window's uses backslashes for it's directory separator it becomes and issue when the build function tries to copy the manifest file and the files from the assets.

Updating these two files to replace the backslashes with forward slashes resolved the issue and allowed npm to properly build the files.

I both replicated the initial issue where npm build was NOT able to copy over the assets and manifest, then applied these two changes and confirmed it was able to build the package successfully.

Please let me know if you have any questions
Thanks!
Todd

Updating the code to replace the backslashes from windows file paths to forward slashes to support how glob works with JS
Updating the code to replace the backslashes from windows file paths to forward slashes to support how glob works with JS
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