-
Notifications
You must be signed in to change notification settings - Fork 3
/
nuxt.config.ts
55 lines (50 loc) · 1.33 KB
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// https://nuxt.com/docs/api/configuration/nuxt-config
import { NodeGlobalsPolyfillPlugin } from '@esbuild-plugins/node-globals-polyfill';
import { NodeModulesPolyfillPlugin } from '@esbuild-plugins/node-modules-polyfill';
export default defineNuxtConfig({
devtools: { enabled: true },
ssr: false,
extends: ['@shuriken-ui/nuxt'],
modules: ['@use-wagmi/nuxt', '@nuxt/image', '@pinia/nuxt'],
css: [
'@fontsource-variable/inter/index.css',
'@fontsource-variable/karla/index.css',
'vue-toastification/dist/index.css',
],
runtimeConfig: {
public: {
walletConnectId: process.env.WALLET_CONNECT_ID,
mailAppId: process.env.MAIL_APP_ID,
chatAppId: process.env.CHAT_APP_ID,
pollinationX: {
url: process.env.POLLINATIONX_URL,
token: process.env.POLLINATIONX_TOKEN,
},
},
},
vite: {
resolve: {
alias: {
process: 'process/browser',
util: 'util',
stream: 'stream-browserify',
},
},
optimizeDeps: {
esbuildOptions: {
target: 'esnext',
define: {
global: 'globalThis',
},
plugins: [
NodeGlobalsPolyfillPlugin({
process: true,
buffer: true,
}),
NodeModulesPolyfillPlugin(),
],
},
},
},
compatibilityDate: '2024-09-17',
});