TransformJsxParams
Parameters for transformJsx.
Import:
import type { TransformJsxParams } from '@mnaoumov/obsidian-dev-toolkit/bundlers/obsidian-plugin-transforms';Signature:
export interface TransformJsxParams extends TransformModuleParamsExtends: TransformModuleParams
Properties
| Property | Type | Description |
|---|---|---|
| code | string | The source code. (Inherited from TransformModuleParams) |
| filePath | string | The source file's path. (Inherited from TransformModuleParams) |
| isProductionBuild | boolean | Whether this is a production build. (Inherited from TransformModuleParams) |
| jsxImportSource | string | The package that supplies the automatic JSX runtime: react or preact. |
| projectFolder? | string | The folder the framework's packages are resolved from. Defaults to the project root. (Inherited from TransformModuleParams) |
Links to this page: