Skip to content

Commit

Permalink
Merge pull request #1246 from robtayl0r/plugins-json-shema
Browse files Browse the repository at this point in the history
docs(types) - update plugins configuration interface
  • Loading branch information
kamilmysliwiec committed Jul 21, 2021
2 parents 46b2d2c + 1ca85ad commit fe433d8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/configuration/configuration.ts
Expand Up @@ -20,11 +20,16 @@ interface CompilerOptions {
tsConfigPath?: string;
webpack?: boolean;
webpackConfigPath?: string;
plugins?: string[];
plugins?: string[] | PluginOptions[];
assets?: string[];
deleteOutDir?: boolean;
}

interface PluginOptions {
name: string;
options: Record<string, any>[];
}

interface GenerateOptions {
spec?: boolean | Record<string, boolean>;
}
Expand Down

0 comments on commit fe433d8

Please sign in to comment.