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.
{
"devDependencies": {
"@vertexvis/rollup-plugin-vertex-copyright": "0.0.0"
}
}
Import and add the plugin to your rollup.config.js
file.
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.
import copyright from '@vertexvis/rollup-plugin-vertex-copyright';
export default {
plugins: [copyright('My copyright.')],
};