Skip to content

Commit

Permalink
feat(node): export some types (#283)
Browse files Browse the repository at this point in the history
  • Loading branch information
underfin authored Nov 15, 2023
1 parent 3bcaabc commit aea91ab
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions packages/node/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
export type { InputOptions } from './options/input-options'
export type { OutputOptions } from './options/output-options'
import type { InputOptions } from './options/input-options'
import type { OutputOptions } from './options/output-options'
export { rolldown } from './rolldown'

interface RollupOptions extends InputOptions {
// This is included for compatibility with config files but ignored by rollup.rollup
output?: OutputOptions | OutputOptions[]
}

// export types from rolldown
export type { RollupOptions, InputOptions, OutputOptions }

// export types from rollup
export type { RollupOutput, Plugin } from 'rollup'

0 comments on commit aea91ab

Please sign in to comment.