-
Notifications
You must be signed in to change notification settings - Fork 0
/
stencil.config.ts
41 lines (40 loc) · 1.13 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
import { Config } from '@stencil/core';
import { reactOutputTarget } from '@stencil/react-output-target';
import { sass } from '@stencil/sass';
export const config: Config = {
devServer: {
reloadStrategy: 'pageReload',
port: 8888,
},
namespace: 'codefee-component',
outputTargets: [
{
type: 'dist',
esmLoaderPath: '../loader',
copy: [{ src: 'styles' }],
},
{
type: 'dist-custom-elements-bundle',
},
{
type: 'docs-readme',
},
{
type: 'www',
serviceWorker: null, // disable service workers
},
{
type: 'angular',
componentCorePackage: '@codefee-component/core',
directivesProxyFile: './exports/angular/projects/main/src/lib/directives/proxies.ts',
directivesUtilsFile: './exports/angular/projects/main/src/lib/directives/proxies-utils.ts',
directivesArrayFile: './exports/angular/projects/main/src/lib/directives/proxies-list.txt',
excludeComponents: [],
},
reactOutputTarget({
componentCorePackage: '@codefee-component/core',
proxiesFile: './exports/react/src/components.ts',
}),
],
plugins: [sass()],
};