import {ProjextRollupModuleReplacePlugin} from 'projext-plugin-rollup/src/plugins/moduleReplace/index.js'
ProjextRollupModuleReplacePlugin
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
getOptions(): * |
|
public |
transform(code: *, filepath: *): * |
Private Methods | ||
private |
_applyInstructions(instructions: *, code: *): * |
|
private |
_validateInstructions(instructions: *) |
Public Constructors
public constructor() source
Public Methods
public transform(code: *, filepath: *): * source
Params:
Name | Type | Attribute | Description |
code | * | ||
filepath | * |
Return:
* |
Private Methods
private _applyInstructions(instructions: *, code: *): * source
Params:
Name | Type | Attribute | Description |
instructions | * | ||
code | * |
Return:
* |
private _validateInstructions(instructions: *) source
Params:
Name | Type | Attribute | Description |
instructions | * |