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, }; }),