1 | import { PluginOptions } from '@open-wc/rollup-plugin-html';
|
2 |
|
3 | export 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 |
|
13 | export interface SpaOptions extends BasicOptions {
|
14 | html?: boolean | PluginOptions;
|
15 | polyfillsLoader?: boolean | object;
|
16 | workbox?: boolean | WorkboxOptions;
|
17 | injectServiceWorker?: boolean;
|
18 | }
|
19 |
|
20 | export interface MpaOptions extends SpaOptions {}
|
21 |
|
22 | interface WorkboxOptions {
|
23 | swDest?: string;
|
24 | globDirectory?: string;
|
25 | }
|