vite-svelte-jsx
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

vite-svelte-jsx npm

Provides Svelte JSX & TSX support.

// vite.config.js
import svelteJsx from 'vite-svelte-jsx'

export default {
  plugins: [
    svelteJsx({
      // options are passed on to @vue/babel-plugin-jsx
    })
  ]
}

Options

See @vue/babel-plugin-jsx.

How to use

This plugin uses svelte-jsx under the hood.
Check the svelte-jsx documentation to check how to write svelte jsx code.

Readme

Keywords

none

Package Sidebar

Install

npm i vite-svelte-jsx

Weekly Downloads

12

Version

1.1.0

License

MIT

Unpacked Size

4.97 kB

Total Files

5

Last publish

Collaborators

  • unlocomqx