preactjs / wmr

👩‍🚀 The tiny all-in-one development tool for modern web apps.
https://wmr.dev/
MIT License
4.92k stars 109 forks source link

Fix/make output directory #904

Closed rschristian closed 2 years ago

rschristian commented 2 years ago

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[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: 31583c7d77f91fc9d69bb3bcc2919a6f80f7d3b4

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