Skip to content

@arcmantle/lit-jsx / compiler/babel-plugin

compiler/babel-plugin

Functions

litJsxBabelPlugin()

litJsxBabelPlugin(options): [PluginTarget, PluginOptions]

Defined in: compiler/babel-plugin.ts:10

Compiles jsx to a combination of standard and compiled lit-html

Parameters

options
useCompiledTemplates?

boolean

useImportDiscovery?

boolean

useTypeInference?

boolean

Returns

[PluginTarget, PluginOptions]

Released under the Apache-2.0 License.