-
Notifications
You must be signed in to change notification settings - Fork 5
/
nuxt.config.ts
50 lines (47 loc) · 1.24 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
// https://nuxt.com/docs/api/configuration/nuxt-config
import stylelint from "vite-plugin-stylelint";
import { visualizer } from "rollup-plugin-visualizer";
export default defineNuxtConfig({
ssr: false,
devtools: {
enabled: true,
timeline: {
enabled: true,
},
},
runtimeConfig: {
public: {
AUTHORIZED_REQUESTERS:
process.env.AUTHORIZED_REQUESTERS?.split(",") ?? [],
EARLY_ALPHA_ACCESS_TEMPLATE_ID:
Number.parseInt(
process.env.EARLY_ALPHA_ACCESS_TEMPLATE_ID ?? "false",
) || 0,
CAMPAIGN_CACHE_DURATION:
Number.parseInt(process.env.CAMPAIGN_CACHE_DURATION ?? "0") || 600_000,
BACKEND_URL: process.env.BACKEND_URL ?? "http://localhost:8888",
ALTERNATIVE_FRONTEND_URL:
process.env.ALTERNATIVE_FRONTEND_URL ?? "http://localhost:3000",
BASE_EXPLORER_URL:
process.env.BASE_EXPLORER_URL ?? "https://jungle4.eosq.eosnation.io",
EOS_NETWORK: process.env.EOS_NETWORK ?? 'jungle4'
},
},
build: {
analyze: {},
},
modules: ["@vueuse/nuxt", "@nuxt/content"],
vite: {
plugins: [
visualizer({
emitFile: true,
filename: "stats.html",
}),
stylelint({
fix: true,
include: ["./**/*.{css,scss,sass,vue}"],
}),
],
},
css: ["@/assets/css/global.css", "vue-final-modal/style.css"],
});