-
Notifications
You must be signed in to change notification settings - Fork 0
/
cumulocity.config.ts
47 lines (46 loc) · 1.46 KB
/
cumulocity.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
42
43
44
45
46
47
import type { ConfigurationOptions } from '@c8y/devkit';
import { author, description, version, name } from './package.json';
export default {
runTime: {
author,
description,
version,
name,
contentSecurityPolicy:
"base-uri 'none'; default-src 'self' 'unsafe-inline' http: https: ws: wss:; connect-src 'self' http: https: ws: wss:; script-src 'self' *.bugherd.com *.twitter.com *.twimg.com *.aptrinsic.com 'unsafe-inline' 'unsafe-eval' data:; style-src * 'unsafe-inline' blob:; img-src * data: blob:; font-src * data:; frame-src *; worker-src 'self' blob:;",
dynamicOptionsUrl: true,
remotes: {
'widget-plugin': ['WidgetPluginModule']
},
package: 'plugin',
isPackage: true,
noAppSwitcher: true,
exports: [
{
name: 'Example widget plugin',
module: 'WidgetPluginModule',
path: './src/app/widget/widget-plugin.module.ts',
description: 'Adds a custom widget to the shell application'
}
]
},
buildTime: {
federation: [
'@angular/animations',
'@angular/cdk',
'@angular/common',
'@angular/compiler',
'@angular/core',
'@angular/forms',
'@angular/platform-browser',
'@angular/platform-browser-dynamic',
'@angular/router',
'@angular/upgrade',
'@c8y/client',
'@c8y/ngx-components',
'ngx-bootstrap',
'@ngx-translate/core',
'@ngx-formly/core'
]
}
} as const satisfies ConfigurationOptions;