Skip to content

'extensions' option doesn't work with native compiler #297

Description

@khoi-nguyen

Summary

Additional extensions are not processed by vite-plugin-solid if compiler: 'native'. It works with compiler: 'babel'

solidPlugin({
  compiler: 'native',
  extensions: ['.mdx'],
}),

Versions

  • vite-plugin-solid@3.0.0-next.22
  • vite@8.1.5
  • 2.0.0-beta.31

Minimal reproduction

solidPlugin({
  compiler: 'native',
  extensions: ['.mdx'],
}),

and rename a .tsx file


Thanks for the amazing work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions