Loading...
Loading...
Compare original and translation side by side
| Tool | Package | Purpose |
|---|---|---|
| Browserslist | | Browser targets for apps |
| ESLint | | Code linting |
| Stylelint | | CSS linting |
| TypeScript | | Type checking (linting only) |
| Rsbuild | | Web application bundling |
| Rslib | | Library bundling |
| 工具 | 包 | 用途 |
|---|---|---|
| Browserslist | | 应用的浏览器目标配置 |
| ESLint | | 代码检查 |
| Stylelint | | CSS检查 |
| TypeScript | | 类型检查(仅检查) |
| Rsbuild | | Web应用打包 |
| Rslib | | 库打包 |
| Project Type | ESLint | TypeScript | Bundler |
|---|---|---|---|
| Web app with React | | | |
| React library | | | |
| TypeScript library (no React) | | | |
| Monorepo workspace root | | | N/A |
| 项目类型 | ESLint | TypeScript | 打包工具 |
|---|---|---|---|
| 带React的Web应用 | | | |
| React库 | | | |
| TypeScript库(无React) | | | |
| 单体仓库工作区根目录 | | | 无 |
pnpm add -D @workleap/browserslist-config browserslistundefinedpnpm add -D @workleap/browserslist-config browserslistundefined
Only for projects emitting application bundles. Libraries should NOT include Browserslist.
To add custom browser targets while still using the shared config:
```text
仅适用于生成应用包的项目。库不应包含Browserslist配置。
如需在使用共享配置的同时添加自定义浏览器目标:
```textundefinedundefineddefine*Config.stylelintrc.jsondefine*Config.stylelintrc.json