UNPKG

528 BPlain TextView Raw
1import { Config } from '@stencil/core'
2const { plugins } = require('@bearer/core/lib/plugins')
3
4export const config: Config = {
5 namespace: process.env.BEARER_INTEGRATION_TAG_NAME,
6 enableCache: false,
7 copy: [
8 {
9 src: 'bearer-manifest.json'
10 },
11 {
12 src: 'openapi.json'
13 }
14 ],
15 outputTargets: [
16 {
17 type: 'dist'
18 },
19 {
20 type: 'www',
21 serviceWorker: null,
22 resourcesUrl: process.env.CDN_HOST
23 }
24 ],
25 plugins: [...plugins()],
26 globalScript: 'src/global/context.ts'
27}