Skip to content

Qwik adds js / ts extension on import #1465

@bastiW

Description

@bastiW

I am interested in helping provide a fix!

Yes

Which generators are impacted?

  • All
  • Angular
  • HTML
  • Preact
  • Qwik
  • React
  • React-Native
  • Solid
  • Stencil
  • Svelte
  • Vue
  • Web components

Reproduction case

https://mitosis.builder.io/playground/?code=JYWwDg9gTgLgBAZQiApgYWZAdir8BmUycA5AHQD0AzsigLQDGmEOeZANsDCiQNwBQ%2FFAA9IsOABMU%2BAIYBXdgTlYGMYCzgZwLXDADyANxRQDwFAHcAFAEo4Ab35w4UFDDlQscS46dwAPAB8Pr7%2BSKha2LoBfhRh6MysMEEhMUE%2B1gIAvvxAA

Expected Behaviour

Should not add .jsx or .tsx on import

Actual Behaviour

image

Additional Information

I have the following setting in my mitosis.config.js

    qwik: {
      typescript: true,
      preserveFileExtensions: false
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions