@types/gulp-sourcemaps

  • Version 0.0.38
  • Published
  • 5.52 kB
  • 2 dependencies
  • MIT license

Install

npm i @types/gulp-sourcemaps
yarn add @types/gulp-sourcemaps
pnpm add @types/gulp-sourcemaps

Overview

TypeScript definitions for gulp-sourcemaps

Index

Functions

function init

init: (opts?: InitOptions) => NodeJS.ReadWriteStream;

    function mapSources

    mapSources: (mapper?: SourceMapMapper) => NodeJS.ReadWriteStream;

      function write

      write: {
      (path?: string, opts?: WriteOptions): NodeJS.ReadWriteStream;
      (opts?: WriteOptions): NodeJS.ReadWriteStream;
      };

        Interfaces

        interface CloneOptions

        interface CloneOptions {}

          property contents

          contents?: boolean | undefined;

            property deep

            deep?: boolean | undefined;

              interface InitOptions

              interface InitOptions {}

                property debug

                debug?: boolean | undefined;

                  property loadMaps

                  loadMaps?: boolean | undefined;

                    interface MapFilenameMapper

                    interface MapFilenameMapper {}

                      call signature

                      (mapFilePath: string): string;

                        interface SourceMapMapper

                        interface SourceMapMapper {}

                          call signature

                          (sourcePath: string, file: File): string;

                            interface SourceUrlMapper

                            interface SourceUrlMapper {}

                              call signature

                              (file: File): string;

                                interface WriteMapper

                                interface WriteMapper {}

                                  call signature

                                  (file: string): string;

                                    interface WriteOptions

                                    interface WriteOptions {}

                                      property addComment

                                      addComment?: boolean | undefined;

                                        property charset

                                        charset?: BufferEncoding | undefined;

                                          property clone

                                          clone?: boolean | CloneOptions | undefined;

                                            property destPath

                                            destPath?: string | undefined;

                                              property includeContent

                                              includeContent?: boolean | undefined;

                                                property mapFile

                                                mapFile?: MapFilenameMapper | undefined;

                                                  property sourceMappingURL

                                                  sourceMappingURL?: SourceUrlMapper | undefined;

                                                    property sourceMappingURLPrefix

                                                    sourceMappingURLPrefix?: string | WriteMapper | undefined;

                                                      property sourceRoot

                                                      sourceRoot?: string | WriteMapper | undefined;

                                                        Package Files (1)

                                                        Dependencies (2)

                                                        Dev Dependencies (0)

                                                        No dev dependencies.

                                                        Peer Dependencies (0)

                                                        No peer dependencies.

                                                        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/@types/gulp-sourcemaps.

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