Skip to content

Commit c18c477

Browse files
committed
feat: remove tools.tailwindcss
1 parent 2886ad0 commit c18c477

File tree

5 files changed

+0
-146
lines changed

5 files changed

+0
-146
lines changed

packages/document/main-doc/docs/en/configure/app/tools/tailwindcss.mdx

Lines changed: 0 additions & 66 deletions
This file was deleted.

packages/document/main-doc/docs/en/configure/app/usage.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ Due to the limitations of the JSON file format, only simple types such as number
150150
#### Notes
151151

152152
- It is not recommended to use both `package.json` and `modern.config.js` for configuration simultaneously. If both are used and conflicts arise, Modern.js will prompt an error in the command line.
153-
- The `@modern-js/runtime` exports a similarly named [defineConfig](/apis/app/runtime/app/define-config) API, so please be careful to distinguish between them.
154153

155154
### Local Debugging Configuration
156155

packages/document/main-doc/docs/zh/configure/app/tools/tailwindcss.mdx

Lines changed: 0 additions & 66 deletions
This file was deleted.

packages/document/main-doc/docs/zh/configure/app/usage.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ $ modern build -c modern.prod.config.js
150150
#### 注意事项
151151

152152
- 不建议同时使用 `package.json``modern.config.js` 进行配置。如果同时使用了两者并出现配置冲突,Modern.js 会在命令行进行提示错误。
153-
- `@modern-js/runtime` 导出了同名的 [defineConfig](/apis/app/runtime/app/define-config) API,请注意区分。
154153

155154
### 本地调试配置
156155

packages/solutions/app-tools/src/types/config/tools.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,9 @@ import type { BuilderConfig } from '@modern-js/builder';
22
import type { JestConfig } from '@modern-js/types';
33
import type { UnwrapBuilderConfig } from '../utils';
44

5-
export type Tailwindcss =
6-
| Record<string, any>
7-
| ((options: Record<string, any>) => Record<string, any> | void);
8-
95
type BuilderToolsConfig = UnwrapBuilderConfig<BuilderConfig, 'tools'>;
106

117
export interface ToolsUserConfig extends Omit<BuilderToolsConfig, 'swc'> {
12-
/**
13-
* Used to custom Tailwind CSS configurations.
14-
* @requires `tailwindcss` plugin.
15-
* The configuration of `tools.tailwindcss` is provided by `tailwindcss` plugin.
16-
* Please use `yarn new` or `pnpm new` to enable the corresponding capability.
17-
*/
18-
tailwindcss?: Tailwindcss;
19-
208
/**
219
* Used to custom Jest configurations.
2210
* @requires `test` plugin.

0 commit comments

Comments
 (0)