-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathvite.config.js
More file actions
21 lines (20 loc) · 839 Bytes
/
vite.config.js
File metadata and controls
21 lines (20 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// module.exports = {
// optimizeDeps: {
// allowNodeBuiltinss: ["seedrandom"],
// exclude: ['seedrandom'],
// }
// }
// const svite = require('svite');
// const sviteConfig = {
// hot: true, // boolean or options object for svelte-hmr
// useTransformCache: false, // boolean
// };
// module.exports = {
// optimizeDeps: {
// allowNodeBuiltins: ["seedrandom"]
// },
// // if you provite a svite plugin here, svite cli will use it instead of initializing one for you
// plugins: [svite(sviteConfig)],
// // if you don't use svite cli, you should provide rollupDedupe option, otherwise you risk duplicate svelte instances and errors
// rollupDedupe: ['svelte/animate', 'svelte/easing', 'svelte/internal', 'svelte/motion', 'svelte/store', 'svelte/transition', 'svelte'],
// };