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: use ssr transformRequest for css crawling on server #554

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

hi-ogawa
Copy link
Owner

@hi-ogawa hi-ogawa commented Jul 12, 2024

Probably this is the cause of the warning in hi-ogawa/lucia-auth-examples#1. Without ssr, server transform request is resolving a browser entry.

5:42:28 PM [react-server] Pre-transform error: Failed to resolve import "@node-rs/argon2-wasm32-wasi" from "node_modules/.pnpm/@node-rs+argon2@1.8.3/node_modules/@node-rs/argon2/browser.js?v=1e8f26d9". Does the file exist?

Eventually we'll need to rework all this, but for now this can go first. Related PRs:

Copy link
Owner Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hi-ogawa and the rest of your teammates on Graphite Graphite

@hi-ogawa hi-ogawa marked this pull request as ready for review July 12, 2024 09:13
@hi-ogawa hi-ogawa changed the title fix: use ssr transformRequest for css crawling for server fix: use ssr transformRequest for css crawling onserver Jul 12, 2024
@hi-ogawa hi-ogawa changed the title fix: use ssr transformRequest for css crawling onserver fix: use ssr transformRequest for css crawling on server Jul 12, 2024
@hi-ogawa hi-ogawa merged commit 6488b56 into main Jul 12, 2024
6 checks passed
@hi-ogawa hi-ogawa deleted the fix-css-crawling-transformRequest-ssr branch July 12, 2024 23:42
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.

1 participant