@vertexvis/rollup-plugin-vertexvis-copyright
TypeScript icon, indicating that this package has built-in type declarations

0.4.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @vertexvis/rollup-plugin-vertexvis-copyright

Weekly Downloads

17

Version

0.4.2

License

MIT

Unpacked Size

6.83 kB

Total Files

10

Last publish

Collaborators

  • danschultz-vertex
  • jdm717
  • joshskinner-vertex
  • ci-vertex