forked from jaredpalmer/tsdx
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50f2d5e
commit bf6731f
Showing
2 changed files
with
88 additions
and
3 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
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,11 +1,20 @@ | ||
export interface TsdxOptions { | ||
// path to file | ||
input: string; | ||
// Name of package | ||
name: string; | ||
// JS target | ||
target: 'node' | 'browser'; | ||
// Module format | ||
format: 'cjs' | 'umd' | 'esm'; | ||
// Environment | ||
env: 'development' | 'production'; | ||
// Path to tsconfig file | ||
tsconfig?: string; | ||
extractErrors?: string; | ||
// Is error extraction running? | ||
extractErrors?: boolean; | ||
// Is minifying? | ||
minify?: boolean; | ||
// Is this the very first rollup config (and thus should one-off metadata be extracted)? | ||
writeMeta?: boolean; | ||
} |