Skip to content

Commit

Permalink
🔧 Add config for vite-plugin-node-polyfills
Browse files Browse the repository at this point in the history
  • Loading branch information
akm committed Oct 28, 2023
1 parent 09c5689 commit ae20425
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
@@ -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()]
});

0 comments on commit ae20425

Please sign in to comment.