Skip to content

fix: support moduleTypes in dev server - #23738

Open
Rishikesh-Bagal wants to merge 2 commits into
vitejs:mainfrom
Rishikesh-Bagal:fix-23706-module-types
Open

Rishikesh-Bagal wants to merge 2 commits into
vitejs:mainfrom
Rishikesh-Bagal:fix-23706-module-types

Conversation

@Rishikesh-Bagal

Copy link
Copy Markdown

Summary

  • Support build.rolldownOptions.moduleTypes in the Vite development server.
  • Handle custom module extensions consistently.
  • Add regression tests for custom module types.

Closes #23706

Tests

  • Vite build
  • transformRequest unit tests
  • moduleTypes development-server tests
  • moduleTypes production-build tests
  • Lint and typecheck

@Rishikesh-Bagal

Copy link
Copy Markdown
Author

Hi maintainers! I've implemented support for build.rolldownOptions.moduleTypes in the Vite development server and added regression tests for custom module extensions. All checks are passing.

Please review my PR and let me know if any changes are needed. Thank you for your time and feedback! 😊

This branch has not been deployed

No deployments
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.

[Dev Server] Support moduleTypes

1 participant