UNPKG

606 BTypeScriptView Raw
1import { PluginOptions } from '@open-wc/rollup-plugin-html';
2
3export interface BasicOptions {
4 outputDir?: string;
5 nodeResolve?: boolean | object;
6 babel?: boolean | object;
7 terser?: boolean | object;
8 legacyBuild?: boolean;
9 developmentMode?: boolean;
10 rootDir?: string;
11}
12
13export interface SpaOptions extends BasicOptions {
14 html?: boolean | PluginOptions;
15 polyfillsLoader?: boolean | object;
16 workbox?: boolean | WorkboxOptions;
17 injectServiceWorker?: boolean;
18}
19
20export interface MpaOptions extends SpaOptions {}
21
22interface WorkboxOptions {
23 swDest?: string;
24 globDirectory?: string;
25}