-
Notifications
You must be signed in to change notification settings - Fork 25
/
nuxt.config.js
131 lines (131 loc) · 3.22 KB
/
nuxt.config.js
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
module.exports = {
mode: 'universal',
/*
** Headers of the page
*/
head: {
title: 'Tornado.cash Trusted Setup Ceremony',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1, shrink-to-fit=no' },
{ name: 'theme-color', content: '#000403' },
{
hid: 'description',
name: 'description',
content: 'Non-custodial Ethereum Privacy solution.'
},
{
hid: 'og:title',
property: 'og:title',
content: 'Tornado.cash Trusted Setup Ceremony'
},
{
hid: 'og:description',
property: 'og:description',
content:
"Improve security of tornado.cash by contributing to Trusted Setup Ceremony. Let's make it fully trustless!"
},
{
hid: 'og:url',
property: 'og:url',
content: 'https://ceremony.tornado.cash'
},
{
hid: 'og:type',
property: 'og:type',
content: 'website'
},
{
hid: 'og:image',
property: 'og:image',
content: 'https://tornado.cash/tw.png'
},
{
hid: 'description',
name: 'description',
content:
"Improve security of tornado.cash by contributing to Trusted Setup Ceremony. Let's make it fully trustless!"
},
{
hid: 'keywords',
name: 'keywords',
content:
'Mixer, Ethereum, ERC20, dapp, smart contract, decentralized, metamask, zksnark, zero knowledge'
}
],
link: [
{ rel: 'manifest', href: 'manifest.json' },
{ rel: 'shortcut icon', type: 'image/x-icon', href: '/favicon/favicon.ico' },
{ rel: 'apple-touch-icon', href: '/favicon/apple-touch-icon.png' },
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css?family=PT+Mono&display=swap'
}
]
},
/*
** Customize the progress-bar color
*/
loading: { color: '#94febf', height: '5px', duration: 5000 },
/*
** Global CSS
*/
css: ['@/assets/styles/app.scss'],
/*
** Plugins to load before mounting the App
*/
plugins: [{ src: '~plugins/phase2', ssr: false }, '~plugins/highlight'],
/*
** Nuxt.js dev-modules
*/
buildModules: [
// Doc: https://github.com/nuxt-community/eslint-module
'@nuxtjs/eslint-module'
],
/*
** Nuxt.js modules
*/
modules: [
// Doc: https://buefy.github.io/#/documentation
[
'nuxt-buefy',
{
css: false,
materialDesignIcons: false
}
]
],
/*
** Axios module configuration
** See https://axios.nuxtjs.org/options
*/
axios: {},
/*
** Build configuration
*/
build: {
/*
** You can extend webpack config here
*/
extend(config, ctx) {
config.module.rules.push({
test: /\.js$/,
loader: require.resolve('@open-wc/webpack-import-meta-loader')
})
},
html: {
minify: {
collapseWhitespace: true, // as @dario30186 mentioned
removeComments: true // 👈 add this line
}
}
},
server: {
port: 3000, // default: 3000
host: '0.0.0.0' // default: localhost
},
env: {
hashtag: process.env.TWITTER_HASHTAG,
downloadUrl: process.env.AWS_CONTRIBUTION_URL
}
}