You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
monaco-editor/index.d.ts

27 lines
636 B
TypeScript

import { Plugin } from 'webpack'
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[];
}
declare class MonacoEditorWebpackPlugin extends Plugin {
constructor(opts?: IMonacoEditorWebpackPluginOpts)
}
export = MonacoEditorWebpackPlugin