Skip to content

Commit

Permalink
update compile option type
Browse files Browse the repository at this point in the history
  • Loading branch information
timlrx committed Oct 31, 2024
1 parent 85fb9b5 commit b0d91b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@contentlayer/core/src/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { fs } from '@contentlayer2/utils'
import type { E, HasClock, HasConsole, OT, S, T } from '@contentlayer2/utils/effect'
import type * as mdxEsbuild from '@mdx-js/esbuild/lib'
import type { CompileOptions } from '@mdx-js/mdx'
import type * as mdxBundler from 'mdx-bundler/dist/types'
import type { LiteralUnion } from 'type-fest'
import type * as unified from 'unified'
Expand Down Expand Up @@ -85,7 +85,7 @@ export type MDXOptions = {
resolveCwd?: 'relative' | 'contentDirPath'
} & Omit<mdxBundler.BundleMDXOptions<any>, 'mdxOptions'>

export type MDXBundlerMapOptions = (options: mdxEsbuild.CompileOptions) => mdxEsbuild.CompileOptions
export type MDXBundlerMapOptions = (options: CompileOptions) => CompileOptions

export type DateOptions = {
/**
Expand Down

0 comments on commit b0d91b7

Please sign in to comment.