forked from KonnorRogers/rhino-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom-elements-manifest.config.js
37 lines (35 loc) · 1.08 KB
/
custom-elements-manifest.config.js
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
// @ts-check
export default {
/** Globs to analyze */
globs: ['src/**/*.{ts,js}'],
/** Globs to exclude */
// exclude: [],
/** Directory to output CEM to */
outdir: '.',
/** Run in dev mode, provides extra logging */
dev: true,
/** Run in watch mode, runs on file changes */
watch: true,
/** Include third party custom elements manifests */
dependencies: true,
/** Output CEM path to `package.json`, defaults to true */
packagejson: true,
/** Enable special handling for litelement */
litelement: true,
/** Enable special handling for catalyst */
catalyst: false,
/** Enable special handling for fast */
fast: false,
/** Enable special handling for stencil */
stencil: false,
/** Provide custom plugins */
plugins: [
],
/** Overrides default module creation: */
// overrideModuleCreation: ({ts, globs}) => {
// const program = ts.createProgram(globs, defaultCompilerOptions);
// const typeChecker = program.getTypeChecker();
//
// return program.getSourceFiles().filter(sf => globs.find(glob => sf.fileName.includes(glob)));
// },
}