rollup-plugin-sourcemaps

  • Version 0.6.3
  • Published
  • 17.7 kB
  • 2 dependencies
  • MIT license

Install

npm i rollup-plugin-sourcemaps
yarn add rollup-plugin-sourcemaps
pnpm add rollup-plugin-sourcemaps

Overview

Rollup plugin for grabbing source maps from sourceMappingURLs

Index

Functions

function sourcemaps

sourcemaps: ({ include, exclude, readFile }?: SourcemapsPluginOptions) => Plugin;

    Interfaces

    interface SourcemapsPluginOptions

    interface SourcemapsPluginOptions {}

      property exclude

      exclude?: Parameters<CreateFilter>[1];

        property include

        include?: Parameters<CreateFilter>[0];

          method readFile

          readFile: (
          path: string,
          callback: (error: Error | null, data: Buffer | string) => void
          ) => void;

            Package Files (1)

            Dependencies (2)

            Dev Dependencies (13)

            Peer Dependencies (2)

            Badge

            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/rollup-plugin-sourcemaps.

            • Markdown
              [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/rollup-plugin-sourcemaps)
            • HTML
              <a href="https://www.jsdocs.io/package/rollup-plugin-sourcemaps"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>