UNPKG

914 BTypeScriptView Raw
1import { Convention } from "./ConventionDependenciesPlugin";
2export declare type Polyfills = "es2015" | "es2016" | "esnext" | "none";
3export interface Options {
4 includeAll: false | string;
5 aureliaApp?: string;
6 aureliaConfig: string | string[];
7 pal?: string;
8 dist: string;
9 entry?: string | string[];
10 features: {
11 ie?: boolean;
12 svg?: boolean;
13 unparser?: boolean;
14 polyfills?: Polyfills;
15 };
16 noHtmlLoader: boolean;
17 noInlineView: boolean;
18 noModulePathResolve: boolean;
19 noWebpackLoader: boolean;
20 moduleMethods: string[];
21 viewsFor: string;
22 viewsExtensions: string | Convention | (string | Convention)[];
23}
24export declare class AureliaPlugin {
25 options: Options;
26 constructor(options?: Partial<Options>);
27 apply(compiler: Webpack.Compiler): void;
28 addEntry(options: Webpack.Options, modules: string | string[]): void;
29}