-
Notifications
You must be signed in to change notification settings - Fork 14
/
custom-elements-manifest.config.mjs
45 lines (43 loc) · 1.3 KB
/
custom-elements-manifest.config.mjs
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
import * as path from 'path';
import { customElementVsCodePlugin } from 'custom-element-vs-code-integration';
import { customJSDocTagsPlugin } from 'cem-plugin-custom-jsdoc-tags';
import forgeMemberDenyListPlugin from './plugins/cem/member-deny-list.mjs';
import forgePublicMemberPrivacyPlugin from './plugins/cem/public-member-privacy.mjs';
import forgeTypePathsPlugin from './plugins/cem/type-paths.mjs';
import forgeBranchNamePlugin from './plugins/cem/branch-name.mjs';
import forgeFilterIgnored from './plugins/cem/filter-ignored.mjs';
export default {
globs: ['src/lib/**/*.ts'],
exclude: ['**/*.test.ts'],
plugins: [
forgeBranchNamePlugin(),
forgeFilterIgnored(),
forgeMemberDenyListPlugin(),
forgePublicMemberPrivacyPlugin(),
forgeTypePathsPlugin(),
customElementVsCodePlugin({
hideLogs: true,
outdir: path.resolve('dist/cem')
}),
customJSDocTagsPlugin({
hideLogs: true,
tags: {
dependency: {
mappedName: 'dependencies',
isArray: true
},
globalconfig: {
mappedName: 'globalConfigProperties',
isArray: true
},
cssfilepath: {
mappedName: 'cssFilePath'
},
cssclass: {
mappedName: 'cssClasses',
isArray: true
}
}
})
]
};