Skip to content

TransformJsxParams

Parameters for transformJsx.

Import:

import type { TransformJsxParams } from '@mnaoumov/obsidian-dev-toolkit/bundlers/obsidian-plugin-transforms';

Signature:

export interface TransformJsxParams extends TransformModuleParams

Extends: TransformModuleParams

Properties

PropertyTypeDescription
codestringThe source code.
(Inherited from TransformModuleParams)
filePathstringThe source file's path.
(Inherited from TransformModuleParams)
isProductionBuildbooleanWhether this is a production build.
(Inherited from TransformModuleParams)
jsxImportSourcestringThe package that supplies the automatic JSX runtime: react or preact.
projectFolder?stringThe folder the framework's packages are resolved from. Defaults to the project root.
(Inherited from TransformModuleParams)

Links to this page: