fix: for windows users #1
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sciactive/svelte-strip!1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello there! Hopefully you're open to PR with fixes :)
glob outputs filepaths with
/separators, regardless of platform its run on and it doesn't look like they're going to change that. On windows this makessvelte-stripoutput files starting from top of the drive, instead of repository's directory.Running
svelte-strip strip src/ dist/and added some console logs to inspect it:Before fix:
After fix:
I've left out console logs in my windows-fix branch
Thanks for the fix!
Released as 1.0.1!