Home Reference Source
import {ProjextRollupModuleReplacePlugin} from 'projext-plugin-rollup/src/plugins/moduleReplace/index.js'
public class | source

ProjextRollupModuleReplacePlugin

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

name: *

Private Members
private

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 Members

public name: * source

Private Members

private _options: * source

Public Methods

public getOptions(): * source

Return:

*

public transform(code: *, filepath: *): * source

Params:

NameTypeAttributeDescription
code *
filepath *

Return:

*

Private Methods

private _applyInstructions(instructions: *, code: *): * source

Params:

NameTypeAttributeDescription
instructions *
code *

Return:

*

private _validateInstructions(instructions: *) source

Params:

NameTypeAttributeDescription
instructions *