Skip to content

@midwayjs/mock里的src得改成调用tsconfig.json里的rootDir #3683

Answered by czy88840616
muyetuge asked this question in Q&A
Discussion options

You must be logged in to vote

测试可以改 baseDir 的

const app = await createApp({
  baseDir: join(__dirname, 'src')
})

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@czy88840616
Comment options

@TsMask
Comment options

@muyetuge
Comment options

@czy88840616
Comment options

Answer selected by muyetuge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
type: question / discussion This issue or pull request need be discussion
3 participants