monaco-editor/index.d.ts
2018-11-13 15:07:55 +01:00

24 lines
564 B
TypeScript

export interface IMonacoEditorWebpackPluginOpts {
/**
* custom output path for worker scripts, relative to the main webpack `output.path`.
* Defaults to ''.
*/
output: string;
/**
* Include only a subset of the languages supported.
*/
languages: string[];
/**
* Include only a subset of the editor features.
* Use e.g. '!contextmenu' to exclude a certain feature.
*/
features: string[];
}
export default class MonacoEditorWebpackPlugin {
constructor(opts?: IMonacoEditorWebpackPluginOpts)
}