More build stuff

This commit is contained in:
Konstantin Wohlwend 2026-02-27 01:55:43 -08:00
parent 48f0e998d5
commit 74a4f5a601
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,9 @@
import { builtinModules } from 'node:module';
import { readFileSync } from 'node:fs';
import { defineConfig, type Rolldown, type UserConfig } from 'tsdown';
import { createBasePlugin } from '../../../configs/tsdown/plugins.ts';
import packageJson from '../package.json';
const packageJson = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf-8'));
const customNoExternal = new Set([
...Object.keys(packageJson.dependencies),

View File

@ -43,6 +43,7 @@
],
"exclude": [
"node_modules",
".next/dev"
".next/dev",
"scripts/*.tsdown.config.ts"
]
}