-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstencil.config.ts
54 lines (53 loc) · 1.11 KB
/
stencil.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import { Config } from '@stencil/core';
export const config: Config = {
namespace: 'tabs',
enableCache: false,
taskQueue: 'async',
extras: {
appendChildSlotFix: true,
cloneNodeFix: true,
cssVarsShim: true,
dynamicImportShim: true,
safari10: true,
scriptDataOpts: false,
shadowDomShim: true,
initializeNextTick: true,
slotChildNodesFix: true,
tagNameTransform: true,
},
hydratedFlag: {
name: `hydrated`,
selector: 'class',
property: `visibility`,
initialValue: `hidden`,
hydratedValue: `inherit`,
},
devServer: {
port: 7777,
openBrowser: false,
reloadStrategy: 'pageReload',
// experimentalDevModules: true,
// logRequests: true,
},
outputTargets: [
{
type: 'dist',
polyfills: true,
empty: true,
},
{
type: 'dist-custom-elements',
empty: true,
},
{
type: 'docs-readme',
footer: '*Powered by [UiWebKit](https://uiwebkit.com/)*',
dependencies: true,
// strict: true,
},
{
type: 'www',
serviceWorker: null, // disable service workers
},
]
};