-
Notifications
You must be signed in to change notification settings - Fork 0
/
pitsby.config.cjs
31 lines (31 loc) · 989 Bytes
/
pitsby.config.cjs
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
module.exports = {
projects: [
{ engine: 'vanilla', collectDocsFrom: './src' }
],
scripts: [
{ src: './src/doc.importmap.js', type: 'importmap', inline: true },
{ src: './src/browser-support.js', type: 'module' },
{ src: './src/index.js', type: 'module' }
],
other: [
'./src/images/logo-web-components.svg',
'./src/components/id-generator.js',
'./src/services/browser.js',
'./src/services/window.js',
'./node_modules/uuid/dist/esm-browser/v4.js',
'./node_modules/uuid/dist/esm-browser/native.js',
'./node_modules/uuid/dist/esm-browser/rng.js',
'./node_modules/uuid/dist/esm-browser/stringify.js',
'./node_modules/uuid/dist/esm-browser/validate.js',
'./node_modules/uuid/dist/esm-browser/regex.js'
],
custom: {
logo: {
filepath: './src/images/logo-web-components.svg',
width: '250px',
height: '40px'
},
windowTitle: 'Pitsby: Web Components + ES Modules',
},
outputDirectory: './docs'
}