diff options
| author | Adam Soltys <[email protected]> | 2022-12-21 13:40:25 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-12-21 13:40:25 -0800 |
| commit | b026bf21ccf70f182c11a7f7542ce0b695e97469 (patch) | |
| tree | 922e8c623e7399eb157be1f3f5de8c4b513d58f9 /vite.config.js | |
| parent | ca1aff53de569bc1fb07d7fe1d247a33b4c23999 (diff) | |
| download | coinos-ui-es.tar.gz coinos-ui-es.zip | |
generate keypair for users that don't have onees
Diffstat (limited to 'vite.config.js')
| -rw-r--r-- | vite.config.js | 6 |
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') |
