forked from ferjal0/zen-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stencil.config.ts
40 lines (39 loc) · 922 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
import { Config } from '@stencil/core';
import { sass } from '@stencil/sass';
import { reactOutputTarget } from '@stencil/react-output-target';
import { name as packageName } from './package.json';
export const config: Config = {
namespace: 'zen-ui',
outputTargets: [
reactOutputTarget({
componentCorePackage: packageName,
proxiesFile: './react/src/output/components.ts',
includeDefineCustomElements: false,
}),
{
type: 'dist',
esmLoaderPath: '../loader',
},
{
type: 'dist-custom-elements-bundle',
},
{
type: 'docs-readme',
footer: '',
},
{
type: 'docs-json',
file: 'stencilDocs.json',
},
],
plugins: [sass()],
testing: {
transform: {
'^.+\\.js?$': 'babel-jest',
},
transformIgnorePatterns: ['node_modules/(?!query-selector-shadow-dom/)'],
},
extras: {
tagNameTransform: true,
},
};