TransformModuleParams
Parameters of a transform that compiles one module.
Import:
import type { TransformModuleParams } from '@mnaoumov/obsidian-dev-toolkit/bundlers/obsidian-plugin-transforms';Signature:
export interface TransformModuleParamsProperties
| Property | Type | Description |
|---|---|---|
| code | string | The source code. |
| filePath | string | The source file's path. |
| isProductionBuild | boolean | Whether this is a production build. |
| projectFolder? | string | The folder the framework's packages are resolved from. Defaults to the project root. |
Links to this page: