Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rollup-plugin-source-map-explorer

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-source-map-explorer

Use source-map-explorer to generate a visual representation of your source maps with rollup

  • 1.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 11 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc