From 8f1b4dc6ee4f11fd96d8413a824951a89597570e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ro=C5=BCek?= Date: Wed, 29 Jun 2022 14:59:56 +0200 Subject: [PATCH] chore(ruleset-bundler): use OutputChunk --- packages/ruleset-bundler/src/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/ruleset-bundler/src/index.ts b/packages/ruleset-bundler/src/index.ts index 0348aee55..3a9fb6c42 100644 --- a/packages/ruleset-bundler/src/index.ts +++ b/packages/ruleset-bundler/src/index.ts @@ -1,4 +1,4 @@ -import { rollup, Plugin, RenderedChunk } from 'rollup'; +import { rollup, Plugin, OutputChunk } from 'rollup'; import { isURL } from '@stoplight/path'; import { isPackageImport } from './utils/isPackageImport'; import { dedupeRollupPlugins } from './utils/dedupeRollupPlugins'; @@ -20,11 +20,11 @@ export async function bundleRuleset( export async function bundleRuleset( input: string, opts: Omit & { fullOutput: true }, -): Promise; +): Promise; export async function bundleRuleset( input: string, { target = 'browser', plugins, format, treeshake = false, fullOutput = false }: BundleOptions, -): Promise { +): Promise { const bundle = await rollup({ input, plugins: dedupeRollupPlugins(plugins),