mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
More build stuff
This commit is contained in:
parent
48f0e998d5
commit
74a4f5a601
@ -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),
|
||||
|
||||
@ -43,6 +43,7 @@
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
".next/dev"
|
||||
".next/dev",
|
||||
"scripts/*.tsdown.config.ts"
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user