Open et-hh opened 3 years ago
i think this is a loader problem. i find that docz deal .ts with
{
test: /\.tsx?$/,
use: {
options: {
stage: 'develop-html',
reactRuntime: 'classic',
cacheDirectory: 'D:\\test\\docz-master\\docz-master\\examples\\myapp\\.doc
z\\.cache\\webpack\\babel',
rootDir: 'D:\\test\\docz-master\\docz-master\\examples\\myapp\\.docz'
},
loader: 'D:\\test\\docz-master\\docz-master\\examples\\myapp\\node_modules\\
gatsby\\dist\\utils\\babel-loader.js'
}
}
is there some wrong?
Bug Report
Describe the bug
use docz in umi project,there will be typescript error, and can't successfully run
yarn docz dev
To Reproduce
Expected behavior run dev success
Environment
Additional context/Screenshots![image](https://user-images.githubusercontent.com/11864722/113147841-ca658300-9263-11eb-9deb-848c0ffa2df8.png)