Skip to content

Commit

Permalink
chore: cleanup PluginContext Omit (#10902)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Nov 13, 2022
1 parent 967299a commit 361c3cd
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/vite/src/node/server/pluginContainer.ts
Expand Up @@ -126,17 +126,12 @@ export interface PluginContainer {

type PluginContext = Omit<
RollupPluginContext,
// not supported
| 'load'
// not documented
| 'cache'
// deprecated
| 'emitAsset'
| 'emitChunk'
| 'getAssetFileName'
| 'getChunkFileName'
| 'isExternal'
| 'moduleIds'
| 'resolveId'
| 'load'
>

export let parser = acorn.Parser
Expand Down

0 comments on commit 361c3cd

Please sign in to comment.