Skip to content

Commit 43e75b4

Browse files
committed
feat: prod build tree shaking
1 parent 683de37 commit 43e75b4

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

.vitepress/theme/shim.d.ts

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

custom/config-vite.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
1-
# WIP
1+
# Configure Vite
2+
3+
Slidev is powered by [Vite](http://vitejs.dev/) under the hood, where you can leverage Vite's great plugin system to customize your slides even further.
4+
5+
The `vite.config.ts` will be respected if you have one.
6+
7+
Slidev has the following plugins preconfigured:
8+
9+
- [@vitejs/plugin-vue](https://github.com/vitejs/vite/tree/main/packages/plugin-vue)
10+
- [vite-plugin-md](https://github.com/antfu/vite-plugin-md)
11+
- [vite-plugin-components](https://github.com/antfu/vite-plugin-components)
12+
- [vite-plugin-windicss](https://github.com/windicss/vite-plugin-windicss)
13+
- [vite-plugin-icons](https://github.com/antfu/vite-plugin-icons)
14+
- [vite-plugin-remote-assets](https://github.com/antfu/vite-plugin-remote-assets)
15+
16+
Learn mode about the [pre-configurations here](https://github.com/slidevjs/slidev/blob/main/packages/slidev/node/plugins/preset.ts).

0 commit comments

Comments
 (0)