forked from teambank/easycredit-webcomponents
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstencil.config.ts
34 lines (33 loc) · 974 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
import { Config } from '@stencil/core';
import { sass } from '@stencil/sass';
export const config: Config = {
namespace: 'easycredit-components',
extras: {
scriptDataOpts: true,
appendChildSlotFix: false,
cloneNodeFix: false,
slotChildNodesFix: true,
},
plugins: [
sass({
injectGlobalPaths: [
'src/globals/base.scss'
]
})
],
bundles: [
{ components: ['easycredit-infopage', 'easycredit-faq', 'easycredit-accordion-item', 'easycredit-accordion'] },
{ components: ['easycredit-box-flash', 'easycredit-box-listing', 'easycredit-box-modal', 'easycredit-box-top'] },
{ components: ['easycredit-widget', 'easycredit-checkout', 'easycredit-checkout-installments', 'easycredit-modal'] },
{ components: ['easycredit-merchant-manager', 'easycredit-merchant-status-widget'] }
],
outputTargets: [
{
type: 'dist',
esmLoaderPath: '../loader',
},
{
type: 'docs-readme',
}
]
}