Skip to content

Commit 2f55744

Browse files
committed
chore: update readme
1 parent 6594550 commit 2f55744

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

README.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,7 @@ npm i rsbuild-plugin-console-debug -D
1515
// rsbuild.config.ts
1616
import { pluginConsoleDebug } from 'rsbuild-plugin-console-debug';
1717

18-
// install launch-editor-middleware
19-
import launchEditorMiddleware from 'launch-editor-middleware';
20-
2118
export default defineConfig({
22-
dev: {
23-
setupMiddlewares: [
24-
({ unshift }, server) => {
25-
unshift((req, res, next) => {
26-
if (req.url.startsWith('/__open-in-editor')) {
27-
launchEditorMiddleware()(req, res, next);
28-
return;
29-
}
30-
31-
next();
32-
});
33-
},
34-
],
35-
},
36-
3719
plugins: [
3820
pluginConsoleDebug(),
3921
],
@@ -48,8 +30,6 @@ Example: [`playground/`](./playground/)
4830

4931
- [Rsbuild](https://rsbuild.dev/)
5032

51-
- [launch-editor](https://github.com/yyx990803/launch-editor)
52-
5333
## Demo
5434

5535
![demo](./assets/demo.png)

0 commit comments

Comments
 (0)