@arcmantle/lit-jsx
    Preparing search index...
    • Vite plugin for jsx-lit with preserve-JSX compilation.

      This plugin uses Babel to transform JSX directly into Lit templates at build time, providing optimal performance by eliminating runtime JSX processing entirely.

      Parameters

      • options: {
            babel?:
                | TransformOptions
                | (
                    (
                        code: string,
                        id: string,
                    ) => TransformOptions | Promise<TransformOptions>
                );
            debug?: boolean;
            legacyDecorators?: boolean;
            useCompiledTemplates?: boolean;
            useImportDiscovery?: boolean;
        } = {}
        • Optionalbabel?:
              | TransformOptions
              | (
                  (
                      code: string,
                      id: string,
                  ) => TransformOptions | Promise<TransformOptions>
              )

          Options for the Babel transform

        • Optionaldebug?: boolean

          Enable debug mode for additional logging

        • OptionallegacyDecorators?: boolean

          Enable legacy decorators support

        • OptionaluseCompiledTemplates?: boolean

          Enables support for experimental compiled templates

          true
          
        • OptionaluseImportDiscovery?: boolean

          Opts into the automatic discovery is custom elements instead of using the static attribute

      Returns PluginOption