/
stencil.config.ts
32 lines (31 loc) · 1 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
import { Config } from '@stencil/core';
import { angularOutputTarget as angular } from '@stencil/angular-output-target';
import { reactOutputTarget as react } from '@stencil/react-output-target';
export const config: Config = {
namespace: 'pdf-component',
outputTargets: [
react({
componentCorePackage: 'pdf-component',
proxiesFile: '../pdf-component-react/src/components/stencil-generated/index.ts',
includeDefineCustomElements: true,
}),
angular({
componentCorePackage: `pdf-component`,
directivesProxyFile: `../pdf-component-angular/projects/pdf-component/src/lib/stencil-generated/components.ts`
}),
{
type: 'dist',
esmLoaderPath: '../loader',
},
{
type: 'dist-custom-elements',
},
{
type: 'docs-readme',
},
{
type: 'www',
serviceWorker: null, // disable service workers
},
],
};