From 9cdb89fdeee99301d77e5d26efb87a309effd635 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 21 Dec 2022 13:40:25 -0800 Subject: generate keypair for users that don't have one --- vite.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'vite.config.js') diff --git a/vite.config.js b/vite.config.js index c4cdb66a..edb1caae 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,9 +1,13 @@ import { sveltekit } from '@sveltejs/kit/vite'; +import { nodePolyfills } from 'vite-plugin-node-polyfills'; + +import wasm from 'vite-plugin-wasm'; +import topLevelAwait from 'vite-plugin-top-level-await'; import path from 'path'; /** @type {import('vite').UserConfig} */ const config = { - plugins: [sveltekit()], + plugins: [nodePolyfills(), sveltekit(), topLevelAwait(), wasm()], resolve: { alias: { $comp: path.resolve('src/components/index.js') -- cgit v1.2.3