UNPKG

@modern-js/module-tools-v2

Version:

The meta-framework suite designed from scratch for frontend-focused modern web development.

22 lines (19 loc) 741 B
import { PluginImpl } from '../rollup'; import ts from 'typescript'; interface Options { /** * The plugin will by default flag *all* external libraries as `external`, * and thus prevent them from be bundled. * If you set the `respectExternal` option to `true`, the plugin will not do * any default classification, but rather use the `external` option as * configured via rollup. */ respectExternal?: boolean; /** * In case you want to use TypeScript path-mapping feature, using the * `baseUrl` and `paths` properties, you can pass in `compilerOptions`. */ compilerOptions?: ts.CompilerOptions; } declare const plugin: PluginImpl<Options>; export { Options, plugin as default };