-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
44 lines (44 loc) · 1003 Bytes
/
nuxt.config.ts
File metadata and controls
44 lines (44 loc) · 1003 Bytes
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
runtimeConfig: {
public: {
bitlyToken: process.env.BITLY_TOKEN,
movieToken: process.env.MOVIE_TOKEN,
twitchClient: process.env.TWITCH_CLIENT,
twitchToken: process.env.TWITCH_TOKEN,
}
},
app: {
rootId: 'root',
rootTag: 'body',
head: {
htmlAttrs: {
lang: 'en',
},
noscript: [
{ children: 'JavaScript is required' }
]
},
},
css: [
'@fortawesome/fontawesome-svg-core/styles.css',
'~/assets/css/main.css',
],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {
overrideBrowserslist: ['> 0.2% and not dead'],
},
}
},
build: {
transpile: [
'@fortawesome/fontawesome-svg-core',
'@fortawesome/free-brands-svg-icons',
'@fortawesome/free-regular-svg-icons',
'@fortawesome/free-solid-svg-icons',
'@fortawesome/vue-fontawesome'
]
},
})