Skip to content

Commit

Permalink
fix: resolve incorrect plugin instance type
Browse files Browse the repository at this point in the history
  • Loading branch information
cshawaus committed May 26, 2022
1 parent a909440 commit 9ebc985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bundles.ts
Expand Up @@ -16,7 +16,7 @@ import {

import type { ImportSpecifier } from 'es-module-lexer'
import type { InputOptions, NormalizedOutputOptions } from 'rollup'
import type { Plugin } from 'vite'
import type { PluginOption } from 'vite'

import type { BundlesImportRewriterOptions } from './types'

Expand All @@ -25,7 +25,7 @@ import type { BundlesImportRewriterOptions } from './types'
*
* @param options import rewriter options
*/
export function bundlesImportRewriter(options: BundlesImportRewriterOptions): Plugin {
export function bundlesImportRewriter(options: BundlesImportRewriterOptions): PluginOption {
const entryAliases: NonNullable<InputOptions['input']> = {}

return {
Expand Down

0 comments on commit 9ebc985

Please sign in to comment.