@vertexvis/rollup-plugin-vertexvis-copyright

Rollup plugin that prepends a Vertex copyright to JS bundles.

Usage no npm install needed!

<script type="module">
  import vertexvisRollupPluginVertexvisCopyright from 'https://cdn.skypack.dev/@vertexvis/rollup-plugin-vertexvis-copyright';
</script>

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.')],
};