@vertexvis/rollup-plugin-vertexvis-copyright
v0.4.2
Published
Rollup plugin that prepends a Vertex copyright to JS bundles.
Downloads
55
Keywords
Readme
Vertex Rollup Copyright Plugin
This project contains a Rollup plugin for prepending a Vertex copyright to generated JS bundles.
Usage
Add @vertexvis/rollup-plugin-vertex-copyright
as an NPM dev dependency to your
project.
// package.json
{
"devDependencies": {
"@vertexvis/rollup-plugin-vertex-copyright": "0.0.0"
}
}
Import and add the plugin to your rollup.config.js
file.
// rollup.config.js
import copyright from '@vertexvis/rollup-plugin-vertex-copyright';
export default {
plugins: [copyright()],
};
A default copyright will be used. You can customize the copyright by passing in your own.
// rollup.config.js
import copyright from '@vertexvis/rollup-plugin-vertex-copyright';
export default {
plugins: [copyright('My copyright.')],
};