Skip to content

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 TransformModuleParams

Properties

PropertyTypeDescription
codestringThe source code.
filePathstringThe source file's path.
isProductionBuildbooleanWhether this is a production build.
projectFolder?stringThe folder the framework's packages are resolved from. Defaults to the project root.

Links to this page: