Skip to content

Commit

Permalink
chore: fix type warning during building vite (#11673)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red authored Jan 12, 2023
1 parent 9fb406b commit 305b76e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vite/src/node/__tests__/build.spec.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { resolve } from 'node:path'
import { fileURLToPath } from 'node:url'
import colors from 'picocolors'
import type { Logger } from 'vite'
import { describe, expect, test, vi } from 'vitest'
import type { OutputChunk, OutputOptions, RollupOutput } from 'rollup'
import type { LibraryFormats, LibraryOptions } from '../build'
import { build, resolveBuildOutputs, resolveLibFilename } from '../build'
import type { Logger } from '../logger'
import { createLogger } from '../logger'

const __dirname = resolve(fileURLToPath(import.meta.url), '..')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { resolve } from 'node:path'
import { fileURLToPath } from 'node:url'
import { normalizePath } from 'vite'
import { describe, expect, it } from 'vitest'
import { transformDynamicImport } from '../../../plugins/dynamicImportVars'
import { normalizePath } from '../../../utils'

const __dirname = resolve(fileURLToPath(import.meta.url), '..')

Expand Down

0 comments on commit 305b76e

Please sign in to comment.