From ae20425340f2718c4b18bd689ee5b234d929e455 Mon Sep 17 00:00:00 2001 From: akm Date: Sat, 28 Oct 2023 20:05:29 +0900 Subject: [PATCH] :wrench: Add config for vite-plugin-node-polyfills --- vite.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index bbf8c7d..b1e6751 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,6 +1,7 @@ import { sveltekit } from '@sveltejs/kit/vite'; import { defineConfig } from 'vite'; +import { nodePolyfills } from 'vite-plugin-node-polyfills'; export default defineConfig({ - plugins: [sveltekit()] + plugins: [nodePolyfills(), sveltekit()] });