mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
chore: resolve alias during build (#56)
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user