2023-10-27 14:25:21 +03:00
|
|
|
const fs = require('fs')
|
|
|
|
const path = require('path')
|
|
|
|
|
|
|
|
module.exports = {
|
2023-11-13 13:24:42 +03:00
|
|
|
...require('./config.base.cjs'),
|
2023-10-27 14:25:21 +03:00
|
|
|
name: 'mtcute',
|
2023-11-13 13:24:42 +03:00
|
|
|
out: '../../docs',
|
2023-10-27 14:25:21 +03:00
|
|
|
entryPoints: fs
|
2023-11-13 13:24:42 +03:00
|
|
|
.readdirSync(path.join(__dirname, '../../packages'))
|
2023-10-27 14:25:21 +03:00
|
|
|
.filter((it) => !['crypto', 'tl', 'create-bot'].includes(it))
|
2023-11-13 13:24:42 +03:00
|
|
|
.map((it) => `../../packages/${it}`),
|
2023-10-27 14:25:21 +03:00
|
|
|
entryPointStrategy: 'packages',
|
|
|
|
// logLevel: 'Verbose',
|
|
|
|
}
|