aboutsummaryrefslogtreecommitdiffstats
path: root/vite.config.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-12-21 13:40:25 -0800
committerAdam Soltys <[email protected]>2022-12-21 13:40:31 -0800
commit9cdb89fdeee99301d77e5d26efb87a309effd635 (patch)
tree998041eeb01d8fed826968436d0667d3f4ec5c3c /vite.config.js
parent615ab1d9086a028b6208dc9100593fb4feb734b9 (diff)
downloadcoinos-ui-9cdb89fdeee99301d77e5d26efb87a309effd635.tar.gz
coinos-ui-9cdb89fdeee99301d77e5d26efb87a309effd635.zip
generate keypair for users that don't have one
Diffstat (limited to 'vite.config.js')
-rw-r--r--vite.config.js6
1 files changed, 5 insertions, 1 deletions
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')