2024-08-13 04:53:07 +03:00
|
|
|
const fs = require('node:fs')
|
|
|
|
const path = require('node:path')
|
2023-10-27 14:25:21 +03:00
|
|
|
|
|
|
|
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'))
|
2024-08-13 04:53:07 +03:00
|
|
|
.filter(it => !['crypto', 'tl', 'create-bot'].includes(it))
|
|
|
|
.map(it => `../../packages/${it}`),
|
2023-10-27 14:25:21 +03:00
|
|
|
entryPointStrategy: 'packages',
|
|
|
|
// logLevel: 'Verbose',
|
|
|
|
}
|