update build process and list of exports.

This commit is contained in:
fiatjaf
2023-12-19 14:01:28 -03:00
parent fe87529646
commit 9648de3470
2 changed files with 20 additions and 14 deletions

View File

@@ -4,7 +4,13 @@ const { join } = require('path')
const entryPoints = fs
.readdirSync(process.cwd())
.filter(file => file.endsWith('.ts') && !file.endsWith('test.ts') && fs.statSync(join(process.cwd(), file)).isFile())
.filter(
file =>
file.endsWith('.ts') &&
file !== 'core.ts' &&
!file.endsWith('.test.ts') &&
fs.statSync(join(process.cwd(), file)).isFile(),
)
let common = {
entryPoints,