Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: support Windows path separator in optimize fake build directory regex #1813

Merged
merged 1 commit into from
Dec 4, 2020

Conversation

dmitrage
Copy link
Contributor

@dmitrage dmitrage commented Dec 4, 2020

Changes

Fixes wrong output paths when using new built-in optimize feature on Windows machine. Without this fix files are actually written to fake build directory.

Testing

Works on my machine (TM). No tests added - the fix is tiny and I did not find existing tests for this feature.

Docs

No - bug fix only.

@vercel
Copy link

vercel bot commented Dec 4, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pikapkg/snowpack/lzjs36e6x
✅ Preview: https://snowpack-git-optimize-fake-regex-windows.pikapkg.vercel.app

Copy link
Collaborator

@drwpow drwpow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me! Thank you

@drwpow drwpow merged commit 2f7ef26 into FredKSchott:main Dec 4, 2020
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.

2 participants