vercel-fix

This commit is contained in:
Untone 2024-07-13 10:34:21 +03:00
parent 0192acb8a4
commit 98461b8d09

View File

@ -22,7 +22,7 @@ export default defineConfig({
vite: { vite: {
envPrefix: 'PUBLIC_', envPrefix: 'PUBLIC_',
plugins: [ plugins: [
mkcert(), !isVercel && mkcert(),
nodePolyfills({ nodePolyfills({
include: ['path', 'stream', 'util'], include: ['path', 'stream', 'util'],
exclude: ['http'], exclude: ['http'],