Skip to content

Commit

Permalink
docs: tweak voice.svg (#8658)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Jun 19, 2022
1 parent 201c9a0 commit a52c6c8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guide/index.md
Expand Up @@ -6,7 +6,7 @@

## Overview

Vite (French word for "quick", pronounced `/vit/`<button style="border:none;padding:3px;border-radius:4px" id="play-vite-audio" onclick="document.getElementById('vite-audio').play();"><img src="/voice.svg" height="15"></button>, like "veet") is a build tool that aims to provide a faster and leaner development experience for modern web projects. It consists of two major parts:
Vite (French word for "quick", pronounced `/vit/`<button style="border:none;padding:3px;border-radius:4px;vertical-align:bottom" id="play-vite-audio" onclick="document.getElementById('vite-audio').play();"><svg style="height:2em;width:2em"><use href="/voice.svg#voice" /></svg></button>, like "veet") is a build tool that aims to provide a faster and leaner development experience for modern web projects. It consists of two major parts:

- A dev server that provides [rich feature enhancements](./features) over [native ES modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules), for example extremely fast [Hot Module Replacement (HMR)](./features#hot-module-replacement).

Expand Down
2 changes: 1 addition & 1 deletion docs/public/voice.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/vite.config.ts
Expand Up @@ -3,5 +3,8 @@ import { defineConfig } from 'vite'
export default defineConfig({
ssr: {
format: 'cjs'
},
legacy: {
buildSsrCjsExternalHeuristics: true
}
})

0 comments on commit a52c6c8

Please sign in to comment.