rollup-plugin-checksum
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

rollup-plugin-checksum

Rollup plugin that emits a file containing the checksum of all emitted chunks and assets.

Installation

npm install rollup-plugin-checksum --save-dev

or

yarn add rollup-plugin-checksum --dev

Usage

The plugin must be added as last plugin.

// rollup.config.js
import checksum from 'rollup-plugin-checksum';

export default {
	input: './index.js',
	plugins: [
		// other plugins
		checksum(/* options */)
	]
}

Options

  • filename: "filename"

    Name of the emitted file that contains the checksum

  • includeAssets: true

    Whether or not to include assets when calculating the checksum

Readme

Keywords

none

Package Sidebar

Install

npm i rollup-plugin-checksum

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

4.86 kB

Total Files

6

Last publish

Collaborators

  • andipaetzold