chore: resolve alias during build (#56)

This commit is contained in:
Rahim
2025-10-13 09:35:38 -07:00
committed by GitHub
parent 78478503c8
commit 146a4d8323
13 changed files with 52 additions and 0 deletions
@@ -1,3 +1,4 @@
import path from 'node:path';
import { defineConfig } from 'tsdown';
export default defineConfig({
@@ -6,6 +7,9 @@ export default defineConfig({
format: 'es',
sourcemap: true,
clean: true,
alias: {
'@': path.resolve(__dirname, 'src'),
},
dts: {
oxc: true,
},