Skip to content

Commit

Permalink
refactor: customize ErrorOverlay (part 2) (#11830)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanettin authored Feb 22, 2023
1 parent ee3b90a commit 4159e6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vite/src/client/overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,14 @@ code {
</style>
<div class="backdrop" part="backdrop">
<div class="window" part="window">
<pre class="message" part="message"><span class="plugin"></span><span class="message-body"></span></pre>
<pre class="message" part="message"><span class="plugin" part="plugin"></span><span class="message-body" part="message-body"></span></pre>
<pre class="file" part="file"></pre>
<pre class="frame" part="frame"></pre>
<pre class="stack" part="stack"></pre>
<div class="tip" part="tip">
Click outside or fix the code to dismiss.<br>
You can also disable this overlay by setting
<code>server.hmr.overlay</code> to <code>false</code> in <code>vite.config.js.</code>
<code part="config-option-name">server.hmr.overlay</code> to <code part="config-option-value">false</code> in <code part="config-file-name">vite.config.js.</code>
</div>
</div>
</div>
Expand Down

0 comments on commit 4159e6f

Please sign in to comment.