import {ProjextRollupCopyPlugin} from 'projext-plugin-rollup/src/plugins/copy/index.js'
ProjextRollupCopyPlugin
This is a Rollup plugin that copies specific files during the bundling process.
Constructor Summary
Public Constructor | ||
public |
constructor(options: ProjextRollupCopyPluginOptions, name: string) |
Method Summary
Public Methods | ||
public |
Gets the plugin options |
|
public |
writeBundle(): Promise<Array, Error> This is called after Rollup finishes writing the files on the file system. |
Public Constructors
public constructor(options: ProjextRollupCopyPluginOptions, name: string) source
Params:
Name | Type | Attribute | Description |
options | ProjextRollupCopyPluginOptions |
|
The options to customize the plugin behaviour. |
name | string |
|
The name of the plugin's instance. |