sst / open-next

Open source Next.js serverless adapter
https://open-next.js.org
MIT License
3.7k stars 111 forks source link

[windows] Add Windows compatibility for the `resolve` ESBuild plugin #461

Open costinsin opened 2 days ago

costinsin commented 2 days ago

Previously, the separator for the filter regex was hardcoded to / (Unix separator).

Now, instead of hardcoding the separator, we are using the cross-platform path.join function. It's result is regex escaped using the escape-string-regexp library.

changeset-bot[bot] commented 2 days ago

⚠️ No Changeset found

Latest commit: c53a9565edd60acfc91fc70755ad022c47710987

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

vercel[bot] commented 2 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
open-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2024 8:30am