mirror of
https://github.com/unjs/unplugin.git
synced 2025-12-08 20:26:33 +00:00
fix(types): align source map with rollup (#161)
This commit is contained in:
parent
6d36eefbcb
commit
95d2e4562b
@ -1,4 +1,4 @@
|
||||
import type { AcornNode, EmittedAsset, Plugin as RollupPlugin, PluginContextMeta as RollupContextMeta, SourceMap } from 'rollup'
|
||||
import type { AcornNode, EmittedAsset, Plugin as RollupPlugin, PluginContextMeta as RollupContextMeta, SourceMapInput } from 'rollup'
|
||||
import type { Compiler as WebpackCompiler, WebpackPluginInstance } from 'webpack'
|
||||
import type { Plugin as VitePlugin } from 'vite'
|
||||
import type { Plugin as EsbuildPlugin } from 'esbuild'
|
||||
@ -13,7 +13,7 @@ export {
|
||||
|
||||
export type Thenable<T> = T | Promise<T>
|
||||
|
||||
export type TransformResult = string | { code: string; map?: SourceMap | null; } | null | undefined
|
||||
export type TransformResult = string | { code: string; map?: SourceMapInput | null; } | null | undefined
|
||||
|
||||
export type ExternalIdResult = { id: string, external?: boolean }
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user