1.ts.config.json
"paths": { "@/*": ["./src/*"] }

config/index.js
const path = require('path')
alias: { '@': path.resolve(__dirname, '..', 'src') },

1.ts.config.json
"paths": { "@/*": ["./src/*"] }
config/index.js
const path = require('path')
alias: { '@': path.resolve(__dirname, '..', 'src') },