Skip to content

Commit

Permalink
refactor: remove unused param
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Dec 26, 2024
1 parent 4f94074 commit 93628b4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/core/ast.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import path from 'node:path'
import { debug, stripExt } from './utils'
import type { OptionsResolved } from './options'
import type * as OxcTypes from '@oxc-project/types'
import type MagicString from 'magic-string'

Expand All @@ -25,7 +24,6 @@ export function filterImports(program: OxcTypes.Program): OxcImport[] {

export function rewriteImports(
s: MagicString,
options: OptionsResolved,
imports: OxcImport[],
entryMap: Record<string, string> | undefined,
inputBase: string,
Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ export const IsolatedDecl: UnpluginInstance<Options | undefined, false> =
)) {
let emitName = rewriteImports(
s,
options,
imports,
entryMap,
inputBase,
Expand Down Expand Up @@ -299,7 +298,6 @@ export const IsolatedDecl: UnpluginInstance<Options | undefined, false> =
)) {
let emitName = rewriteImports(
s,
options,
imports,
entryMap,
inputBase,
Expand Down

0 comments on commit 93628b4

Please sign in to comment.