-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(node): export some types (#283)
- Loading branch information
Showing
1 changed file
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |