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

feat(router): support js/jsx extensions #636

Merged
merged 8 commits into from
Mar 30, 2024
Merged

Conversation

dai-shi
Copy link
Owner

@dai-shi dai-shi commented Mar 30, 2024

following #633
see 02_template_js example

Copy link

vercel bot commented Mar 30, 2024

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

Name Status Preview Updated (UTC)
waku ✅ Ready (Inspect) Visit Preview Mar 30, 2024 1:40pm

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

// For Windows
return [file.replace(/\\/g, '/')];
file = sep === '/' ? file : file.replace(/\\/g, '/');
// HACK: resolve different extensions for build
Copy link
Owner Author

@dai-shi dai-shi Mar 30, 2024

Choose a reason for hiding this comment

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

I wish there would be a nice way to avoid it. But, maybe it's not a priority.

@dai-shi dai-shi marked this pull request as ready for review March 30, 2024 23:26
@dai-shi dai-shi mentioned this pull request Mar 30, 2024
77 tasks
@dai-shi dai-shi merged commit 2ff401b into main Mar 30, 2024
28 checks passed
@dai-shi dai-shi deleted the feat/router/js-and-jsx branch March 30, 2024 23:58
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