import {ProjextRollupNodeRunnerPlugin} from 'projext-plugin-rollup/src/plugins/nodeRunner/index.js'
ProjextRollupNodeRunnerPlugin
This is a Rollup plugin that takes care of executing the bundled Noded app after the build is generated.
Constructor Summary
Public Constructor | ||
public |
constructor(options: ProjextRollupNodeRunnerPluginOptions, name: string) |
Method Summary
Public Methods | ||
public |
Gets the plugin options |
|
public |
This is called after Rollup finishes writing the files on the file system. |
Public Constructors
public constructor(options: ProjextRollupNodeRunnerPluginOptions, name: string) source
Params:
Name | Type | Attribute | Description |
options | ProjextRollupNodeRunnerPluginOptions |
|
The options to customize the plugin behaviour. |
name | string |
|
The name of the plugin's instance. |
Public Methods
public writeBundle() source
This is called after Rollup finishes writing the files on the file system. It takes care of stopping the bundle execution, if it's already running, and starting it again.