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/make output directory #904

Merged
merged 2 commits into from
Apr 12, 2022
Merged

Fix/make output directory #904

merged 2 commits into from
Apr 12, 2022

Conversation

rschristian
Copy link
Member

Creating the output directory (if it didn't exist) happens before the user's WMR config has been merged in, which results in dist/ always being created (regardless of what directory is set in the config file) and this can lead to build errors if the chosen out directory does not yet exist.

@changeset-bot
Copy link

changeset-bot bot commented Jan 24, 2022

🦋 Changeset detected

Latest commit: 31583c7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
wmr Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@developit developit left a comment

Choose a reason for hiding this comment

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

Good catch!

@rschristian rschristian force-pushed the fix/make-output-directory branch from 30c026f to 31583c7 Compare April 5, 2022 08:52
@developit developit merged commit 3b6f963 into main Apr 12, 2022
@developit developit deleted the fix/make-output-directory branch April 12, 2022 21:58
@github-actions github-actions bot mentioned this pull request Apr 12, 2022
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