forked from maxdavidson/rollup-plugin-sourcemaps
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add declaration file * chore: update repo url
- Loading branch information
Showing
8 changed files
with
36 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'rollup-plugin-sourcemaps2': minor | ||
--- | ||
|
||
chore: add declaration files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { CreateFilter } from '@rollup/pluginutils'; | ||
import { ExistingRawSourceMap } from 'rollup'; | ||
|
||
export interface ResolvedSources { | ||
sourcesResolved: string[]; | ||
sourcesContent: (string | Error)[]; | ||
} | ||
|
||
export interface ResolvedSourceMap { | ||
map: ExistingRawSourceMap; | ||
url: string | null; | ||
sourcesRelativeTo: string; | ||
sourceMappingURL: string; | ||
} | ||
|
||
export interface SourcemapsPluginOptions { | ||
include?: Parameters<CreateFilter>[0]; | ||
exclude?: Parameters<CreateFilter>[1]; | ||
readFile?(path: string, callback: (error: Error | null, data: Buffer | string) => void): void; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters