UNPKG

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