Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Don't allow sourceMap option (#42)
Browse files Browse the repository at this point in the history
Including the capital-M `sourceMap` option is an error, so we should exclude it from types.
  • Loading branch information
thw0rted authored and TrySound committed Sep 12, 2019
1 parent b8b4617 commit 4479c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Plugin } from 'rollup';
import { MinifyOptions } from 'terser';

export interface Options extends MinifyOptions {
export interface Options extends Omit<MinifyOptions, "sourceMap"> {

/**
* Specifically include/exclude chunk files names (minimatch pattern, or array of minimatch patterns), By default all chunk files will be minify.
Expand Down

0 comments on commit 4479c2a

Please sign in to comment.