-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstencil.config.ts
43 lines (41 loc) · 1022 Bytes
/
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
import './bin/remove_warnings_plugin.js'
import { Config } from '@stencil/core';
export interface CardinalConfig extends Config {
readonly useBootstrap: boolean;
}
export const config: CardinalConfig = {
namespace: 'cardinal-core',
globalScript: './src/globals/index.ts',
buildDist: true,
plugins: [
global.removeWarnings()
],
outputTargets: [
{
type: 'dist',
esmLoaderPath: '../loader',
copy: [
{ src: 'controllers/AppConfigurationHelper.js', warn: true },
{ src: 'controllers/defaultApplicationConfig.json', warn: true },
{ src: 'controllers/base-controllers/*.js', warn: true },
{ src: 'events/*.js', warn: true },
]
},
{
type: 'docs-readme'
},
{
type: 'www',
serviceWorker: null // disable service workers
}
],
buildEs5: false,
extras: {
cssVarsShim: false,
dynamicImportShim: false,
safari10: false,
scriptDataOpts: false,
shadowDomShim: false
},
useBootstrap: true
};