@types/gulp-sourcemaps

  • Version 0.0.34
  • Published
  • 4.16 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) => any;

    function mapSources

    mapSources: (mapper?: SourceMapMapper) => any;

      function write

      write: { (path?: string, opts?: WriteOptions): any; (opts?: WriteOptions): any };

        Interfaces

        interface CloneOptions

        interface CloneOptions {}

          property contents

          contents?: boolean;

            property deep

            deep?: boolean;

              interface InitOptions

              interface InitOptions {}

                property debug

                debug?: boolean;

                  property loadMaps

                  loadMaps?: boolean;

                    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;

                                        property charset

                                        charset?: BufferEncoding;

                                          property clone

                                          clone?: boolean | CloneOptions;

                                            property destPath

                                            destPath?: string;

                                              property includeContent

                                              includeContent?: boolean;

                                                property mapFile

                                                mapFile?: MapFilenameMapper;

                                                  property sourceMappingURL

                                                  sourceMappingURL?: SourceUrlMapper;

                                                    property sourceMappingURLPrefix

                                                    sourceMappingURLPrefix?: string | WriteMapper;

                                                      property sourceRoot

                                                      sourceRoot?: string | WriteMapper;

                                                        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>