| 1 |
import { PluginImpl } from 'rollup'; |
| 2 |
import ts from 'typescript'; |
| 3 |
|
| 4 |
interface Options { |
| 5 |
/** |
| 6 |
* The plugin will by default flag *all* external libraries as `external`, |
| 7 |
* and thus prevent them from be bundled. |
| 8 |
* If you set the `respectExternal` option to `true`, the plugin will not do |
| 9 |
* any default classification, but rather use the `external` option as |
| 10 |
* configured via rollup. |
| 11 |
*/ |
| 12 |
respectExternal?: boolean; |
| 13 |
/** |
| 14 |
* In case you want to use TypeScript path-mapping feature, using the |
| 15 |
* `baseUrl` and `paths` properties, you can pass in `compilerOptions`. |
| 16 |
*/ |
| 17 |
compilerOptions?: ts.CompilerOptions; |
| 18 |
} |
| 19 |
declare const plugin: PluginImpl<Options>; |
| 20 |
|
| 21 |
export { Options, plugin as default }; |