htmlgaga
Version:
Manage non-SPA pages with webpack and React.js
87 lines (86 loc) • 2.06 kB
TypeScript
export declare const cwd: string;
export declare const logger: any;
export declare const alias: {
img: string;
css: string;
js: string;
};
export declare const publicFolder = "public";
export declare const extensions: string[];
export declare const performance: Performance;
export declare const PerformanceObserver: any;
export declare const cacheRoot: string;
export declare const rules: ({
test: RegExp;
exclude: RegExp;
use: {
loader: string;
options: {
presets: string[];
plugins: string[];
cacheDirectory: boolean;
cacheCompression: boolean;
};
}[];
loader?: undefined;
options?: undefined;
} | {
test: RegExp;
use: ({
loader: string;
options: {
presets: string[];
plugins: string[];
cacheDirectory: boolean;
cacheCompression: boolean;
rehypePlugins?: undefined;
};
} | {
loader: string;
options: {
rehypePlugins: any[];
presets?: undefined;
plugins?: undefined;
cacheDirectory?: undefined;
cacheCompression?: undefined;
};
})[];
exclude?: undefined;
loader?: undefined;
options?: undefined;
} | {
test: RegExp;
loader: string;
options: {
name: string;
};
exclude?: undefined;
use?: undefined;
} | {
test: RegExp;
use: {
loader: string;
options: {
name: string;
outputPath: string;
};
}[];
exclude?: undefined;
loader?: undefined;
options?: undefined;
} | {
test: RegExp;
use: (string | {
loader: any;
options?: undefined;
} | {
loader: string;
options: {
ident: string;
plugins: any[];
};
})[];
exclude?: undefined;
loader?: undefined;
options?: undefined;
})[];