From a2cb7ec931096a1657ceebbdcb2ea88e89008b0b Mon Sep 17 00:00:00 2001 From: Erin Date: Fri, 28 Jul 2023 08:00:39 -0400 Subject: [PATCH] rename scriptPlugins to plugins --- index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.ts b/index.ts index fc6d518..b586837 100644 --- a/index.ts +++ b/index.ts @@ -10,12 +10,12 @@ import {type RollupOptions, type Plugin} from 'rollup'; export function buildConfig ({ manifest: manifestPathRelative, outDir, - scriptPlugins = [], + plugins = [], sourcemap, }: { manifest: string; outDir: string; - scriptPlugins: Plugin[]; + plugins: Plugin[]; sourcemap: boolean | 'inline' | 'hidden'; }): RollupOptions[] { const manifestPath = resolve(process.cwd(), manifestPathRelative); @@ -73,7 +73,7 @@ export function buildConfig ({ format: 'iife' as const, sourcemap, }, - plugins: scriptPlugins, + plugins, }; }),