From 4479c2a113345f664b2823782e95746450a5af74 Mon Sep 17 00:00:00 2001 From: James Bromwell <943160+thw0rted@users.noreply.github.com> Date: Thu, 12 Sep 2019 10:21:47 +0200 Subject: [PATCH] Don't allow `sourceMap` option (#42) Including the capital-M `sourceMap` option is an error, so we should exclude it from types. --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index ca44717..5182aaf 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,7 +1,7 @@ import { Plugin } from 'rollup'; import { MinifyOptions } from 'terser'; -export interface Options extends MinifyOptions { +export interface Options extends Omit { /** * Specifically include/exclude chunk files names (minimatch pattern, or array of minimatch patterns), By default all chunk files will be minify.