1.1.3 • Published 2 years ago

rollup-plugin-source-map-explorer v1.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

rollup-plugin-source-map-explorer

Requirements

This plugin depends on source-map-explorer and rollup.

To install source-map-explorer, run:

npm install -g source-map-explorer

Installation

npm install --save-dev rollup-plugin-source-map-explorer
# or
yarn add -D rollup-plugin-source-map-explorer

Usage

import visualizeSource from 'rollup-plugin-source-map-explorer';

//...
plugins: [
    //...
    visualizeSource();
]
//...

Options

Reference source-map-explorer docs to learn more about these options.

filename

Type: string Default: source-stats.html

Name of the generated visualisation file.

format

Type: string Default: html

Format of the file. Possible types are all those that source-map-explorer supports: html| json | tsv

gzip

Type: boolean Default: false

Calculate gzip size.

sort

Type: boolean Default: false

To sort filenames or not.

noRoot

Type: boolean Default: false

noBorderChecks

Type: boolean Default: false

excludeSourceMap

Type: boolean Default: false

If the invalid mapping column/line checks should be disabled.

License

MIT

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago