Skip to content

fix: invalid paths in windows bundles #247

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

Merged
merged 2 commits into from
Jan 10, 2025
Merged

fix: invalid paths in windows bundles #247

merged 2 commits into from
Jan 10, 2025

Conversation

james-elicx
Copy link
Collaborator

@james-elicx james-elicx commented Jan 10, 2025

Changes some instances of inlined paths to use the normalizePath helper (the cache one was the main problem) and updates an esbuild filter.

Bumps aws package to use the prerelease in opennextjs/opennextjs-aws#695 to fix the esbuild filters.

fixes #204
fixes #236

Copy link

changeset-bot bot commented Jan 10, 2025

🦋 Changeset detected

Latest commit: a622581

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

This PR includes changesets to release 1 package
Name Type
@opennextjs/cloudflare 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

pkg-pr-new bot commented Jan 10, 2025

Open in Stackblitz

pnpm add https://pkg.pr.new/@opennextjs/cloudflare@247

commit: a622581

@james-elicx james-elicx marked this pull request as ready for review January 10, 2025 17:11
@@ -17,6 +17,8 @@ import { openNextReplacementPlugin } from "@opennextjs/aws/plugins/replacement.j
import { openNextResolvePlugin } from "@opennextjs/aws/plugins/resolve.js";
import type { FunctionOptions, SplittedFunctionOptions } from "@opennextjs/aws/types/open-next.js";

import { normalizePath } from "../utils/index.js";
Copy link
Contributor

Choose a reason for hiding this comment

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

would be nice to upstream those changes to aws

Copy link
Contributor

@vicb vicb left a comment

Choose a reason for hiding this comment

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

Awesome, thank you so much!

@vicb vicb merged commit 05ee8d4 into main Jan 10, 2025
7 checks passed
@vicb vicb deleted the james/fix-windows-1 branch January 10, 2025 18:27
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.

windows support [BUG] Windows Build Failing: Could not resolve open-nextserver-functionsdefaultcache.cjs
2 participants