Comparing version
@@ -1,3 +0,3 @@ | ||
import { P as Preset, I as Import, B as BuiltinPresetName, U as UnimportOptions } from './types-034e4721'; | ||
export { B as BuiltinPresetName, I as Import, a as ImportName, M as ModuleId, P as Preset, c as PresetImport, U as UnimportOptions, b as builtinPresets } from './types-034e4721'; | ||
import { P as Preset, I as Import, B as BuiltinPresetName, a as PathFromResolver, U as UnimportOptions } from './types-c897d48e'; | ||
export { B as BuiltinPresetName, I as Import, c as ImportName, M as ModuleId, a as PathFromResolver, P as Preset, d as PresetImport, U as UnimportOptions, b as builtinPresets } from './types-c897d48e'; | ||
import * as MagicString from 'magic-string'; | ||
@@ -17,4 +17,4 @@ import MagicString__default from 'magic-string'; | ||
declare function toExports(imports: Import[]): string; | ||
declare function toTypeDeclrationItems(imports: Import[]): string[]; | ||
declare function toTypeDeclrationFile(imports: Import[]): string; | ||
declare function toTypeDeclrationItems(imports: Import[], resolvePath?: PathFromResolver): string[]; | ||
declare function toTypeDeclrationFile(imports: Import[], resolvePath?: PathFromResolver): string; | ||
declare function addImportToCode(code: string, imports: Import[], isCJS?: boolean, mergeExisting?: boolean): { | ||
@@ -40,5 +40,5 @@ s: MagicString__default; | ||
toExports: () => string; | ||
generateTypeDecarations: () => string; | ||
generateTypeDecarations: (pathResolver?: PathFromResolver) => string; | ||
}; | ||
export { Unimport, addImportToCode, createUnimport, dedupeImports, defineUnimportPreset, excludeRE, importAsRE, normalizeImports, resolveBuiltinPresets, resolvePreset, separatorRE, stripCommentsAndStrings, toExports, toImports, toTypeDeclrationFile, toTypeDeclrationItems }; |
import * as unplugin from 'unplugin'; | ||
import { FilterPattern } from '@rollup/pluginutils'; | ||
import { U as UnimportOptions } from './types-034e4721'; | ||
import { U as UnimportOptions } from './types-c897d48e'; | ||
@@ -5,0 +5,0 @@ interface UnimportPluginOptions extends UnimportOptions { |
{ | ||
"name": "unimport", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "repository": "unjs/unimport", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
47695
1.03%1630
0.43%