Skip to content

Commit 541eee0

Browse files
authored
feat!: remove overlay support (#89)
1 parent a897107 commit 541eee0

35 files changed

+13
-2223
lines changed

README.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -185,33 +185,6 @@ Sets a namespace for the React Refresh runtime.
185185

186186
It is most useful when multiple instances of React Refresh is running together simultaneously.
187187

188-
### overlay
189-
190-
- Type: `boolean | OverlayOptions`
191-
- Default: `false`
192-
193-
Modify the behavior of the error overlay.
194-
195-
Checkout [OverlayOptions](https://github.com/rstackjs/rspack-plugin-react-refresh/blob/main/src/options.ts#L4) type signature for more details.
196-
197-
- Enable the error overlay:
198-
199-
```js
200-
new ReactRefreshPlugin({
201-
overlay: true,
202-
});
203-
```
204-
205-
- Configure the error overlay:
206-
207-
```js
208-
new ReactRefreshPlugin({
209-
overlay: {
210-
// ...
211-
},
212-
});
213-
```
214-
215188
### reloadOnRuntimeErrors
216189

217190
- Type: `boolean`

THIRDPARTY.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,3 @@ Each component retains its original license and attribution as noted below.
1212
- **Copyright (c)** 2019 Michael Mok
1313

1414
The original license text is available at: https://github.com/pmmmwh/react-refresh-webpack-plugin/blob/0b960573797bf38926937994c481e4fec9ed8aa6/LICENSE
15-
16-
### mahdyar/ansi-html-community
17-
18-
- **Source:** https://github.com/mahdyar/ansi-html-community/tree/b86cc3f1fa1d118477877352f0eafe1a70fd20ab
19-
- **License:** Apache License 2.0
20-
- **Original Author:** @Tjatse
21-
22-
Some utility code from this repository was adapted to enhance ANSI color parsing behavior.
23-
24-
The original license text is available at: https://github.com/mahdyar/ansi-html-community/blob/b86cc3f1fa1d118477877352f0eafe1a70fd20ab/LICENSE

client/errorOverlayEntry.js

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

client/overlay/components/CompileErrorTrace.js

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

client/overlay/components/PageHeader.js

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

client/overlay/components/RuntimeErrorFooter.js

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

0 commit comments

Comments
 (0)