Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions docs/docs/docs/api/config.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -1378,30 +1378,6 @@ Will generate the following HTML:
<link rel="stylesheet" href="https://a.com/b.css" />
```

## stagewise

- Type: `Record<string, any>`
- Default: `undefined`

Configure the Stagewise plugin. Stagewise is a development debugging tool that only takes effect in development mode.

Example:

```ts
// .umirc.ts
export default {
stagewise: {
// Stagewise toolbar configuration
theme: 'dark',
position: 'bottom-right',
},
};
```

For more configuration options, see [Stagewise Configuration](https://kmi.corp.kuaishou.com/plugins/stagewise).

Note: This feature needs to be enabled through configuration.

## srcTranspiler

- Type: `string` optional values: `babel`, `swc`, `esbuild`
Expand Down
24 changes: 0 additions & 24 deletions docs/docs/docs/api/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -1415,30 +1415,6 @@ styles: [`body { color: red; }`, `https://a.com/b.css`],
<link rel="stylesheet" href="https://a.com/b.css" />
```

## stagewise

- 类型:`Record<string, any>`
- 默认值:`undefined`

配置 Stagewise 插件。Stagewise 是一个开发调试工具,仅在开发模式下生效。

示例:

```ts
// .umirc.ts
export default {
stagewise: {
// Stagewise 工具栏配置
theme: 'dark',
position: 'bottom-right',
},
};
```

更多配置选项详见 [Stagewise 配置文档](https://kmi.corp.kuaishou.com/plugins/stagewise)。

注意:此功能需要通过配置启用。

## srcTranspiler

- 类型:`string` 可选的值:`babel`, `swc`, `esbuild`
Expand Down
1 change: 0 additions & 1 deletion packages/preset-umi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
},
"dependencies": {
"@iconify/utils": "2.1.1",
"@stagewise/toolbar": "0.6.2",
"@svgr/core": "6.5.1",
"@umijs/ast": "workspace:*",
"@umijs/babel-preset-umi": "workspace:*",
Expand Down
43 changes: 0 additions & 43 deletions packages/preset-umi/src/features/stagewise/stagewise.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/preset-umi/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export default () => {
require.resolve('./features/polyfill/publicPathPolyfill'),
require.resolve('./features/prepare/prepare'),
require.resolve('./features/routePrefetch/routePrefetch'),
require.resolve('./features/stagewise/stagewise'),
require.resolve('./features/terminal/terminal'),

// 1. generate tmp files
Expand Down
7 changes: 0 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading