Comments (2)
could you please try below?
// tsconfig.json
{
"compilerOptions": {
"target": "ES2020",
"lib": ["DOM", "ES2020"],
"module": "ESNext",
"jsx": "react-jsx",
"noEmit": true,
"skipLibCheck": true,
"isolatedModules": true,
"resolveJsonModule": true,
"moduleResolution": "bundler"
},
"mdx": {
"checkMdx": true
}
}
from rspress.
could you please try below?
// tsconfig.json { "compilerOptions": { "target": "ES2020", "lib": ["DOM", "ES2020"], "module": "ESNext", "jsx": "react-jsx", "noEmit": true, "skipLibCheck": true, "isolatedModules": true, "resolveJsonModule": true, "moduleResolution": "bundler" }, "mdx": { "checkMdx": true } }
works good now
from rspress.
Related Issues (20)
- [Bug]: 图片放在文档目录时,图片文件会出现在侧边栏中 HOT 3
- [Feature Request]: Fusion search engine for monolith rspress projects HOT 9
- [Bug]: 关闭 `markdown.mdxRs` 会导致标题在某些情况下丢失空格 HOT 1
- [Bug]: Panic from markdown-1.0.0-alpha.16 on build HOT 2
- [Bug]: should not generate the sideBar in homePage with "type": "dir" route
- [Bug]: plugin-preview插件使用时报错 HOT 5
- [Feature]: optimize @rspress/plugin-preview style
- [Feature]: support don't fallback to csr when ssr failed HOT 12
- [Feature]: Better support for CSS layers HOT 2
- [Feature]: .md建议增加table自适应宽带 HOT 2
- [Feature]: Generating aside items when using the api-docgen plugin
- Benchmark Performance Degradation (2024-08-13)
- [Feature][plugin-playground]: Support tsx
- Benchmark Performance Degradation (2024-08-14)
- [Bug] Auto generated sidebar should consider `route.excludes` when `_meta.json` do not exists HOT 2
- [Bug]: 无法设置 output.distPath HOT 3
- [Docs] The documentation is missing some descriptions of Rsbuild configurations that cannot be modified via `builderConfig` HOT 1
- [Docs]: 官网增加展示页面 HOT 3
- [Feature]: module doc 能支持tsx文件的实时编辑吗,现在的doc-plugin-playground,会报类型错误
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rspress.