trusted-setup-server/nuxt.config.js

132 lines
3.2 KiB
JavaScript
Raw Normal View History

2020-01-29 11:54:03 +01:00
module.exports = {
mode: 'universal',
/*
** Headers of the page
*/
head: {
2020-04-29 21:26:36 +02:00
title: 'Tornado.cash Trusted Setup Ceremony',
2020-01-29 11:54:03 +01:00
meta: [
{ charset: 'utf-8' },
2020-01-29 14:13:06 +01:00
{ name: 'viewport', content: 'width=device-width, initial-scale=1, shrink-to-fit=no' },
{ name: 'theme-color', content: '#000403' },
2020-01-29 11:54:03 +01:00
{
hid: 'description',
name: 'description',
2020-01-29 14:13:06 +01:00
content: 'Non-custodial Ethereum Privacy solution.'
},
{
hid: 'og:title',
property: 'og:title',
2020-04-29 22:06:53 +02:00
content: 'Tornado.cash Trusted Setup Ceremony'
2020-01-29 14:13:06 +01:00
},
{
hid: 'og:description',
property: 'og:description',
2020-04-29 21:26:36 +02:00
content:
"Improve security of tornado.cash by contributing to Trusted Setup Ceremony. Let's make it fully trustless!"
2020-01-29 14:13:06 +01:00
},
{
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',
2020-04-29 21:26:36 +02:00
content:
"Improve security of tornado.cash by contributing to Trusted Setup Ceremony. Let's make it fully trustless!"
2020-01-29 14:13:06 +01:00
},
{
hid: 'keywords',
name: 'keywords',
content:
'Mixer, Ethereum, ERC20, dapp, smart contract, decentralized, metamask, zksnark, zero knowledge'
2020-01-29 11:54:03 +01:00
}
],
2020-01-29 14:13:06 +01:00
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'
}
]
2020-01-29 11:54:03 +01:00
},
/*
** Customize the progress-bar color
*/
2020-01-29 14:13:06 +01:00
loading: { color: '#94febf', height: '5px', duration: 5000 },
2020-01-29 11:54:03 +01:00
/*
** Global CSS
*/
2020-01-29 14:13:06 +01:00
css: ['@/assets/styles/app.scss'],
2020-01-29 11:54:03 +01:00
/*
** Plugins to load before mounting the App
*/
2020-02-29 16:27:01 +01:00
plugins: [{ src: '~plugins/phase2', ssr: false }, '~plugins/highlight'],
2020-01-29 11:54:03 +01:00
/*
** 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
2020-01-29 14:13:06 +01:00
[
'nuxt-buefy',
{
css: false,
materialDesignIcons: false
}
2020-04-10 12:18:24 +02:00
]
2020-01-29 11:54:03 +01:00
],
/*
** Axios module configuration
** See https://axios.nuxtjs.org/options
*/
2020-02-05 11:53:45 +01:00
axios: {},
2020-01-29 11:54:03 +01:00
/*
** Build configuration
*/
build: {
/*
** You can extend webpack config here
*/
2020-01-29 17:59:37 +01:00
extend(config, ctx) {
config.module.rules.push({
test: /\.js$/,
loader: require.resolve('@open-wc/webpack-import-meta-loader')
})
},
2020-01-29 14:13:06 +01:00
html: {
minify: {
collapseWhitespace: true, // as @dario30186 mentioned
removeComments: true // 👈 add this line
}
}
2020-02-08 16:36:03 +01:00
},
server: {
port: 3000, // default: 3000
host: '0.0.0.0' // default: localhost
2020-03-02 08:58:11 +01:00
},
env: {
2020-04-30 11:58:45 +02:00
hashtag: process.env.TWITTER_HASHTAG,
downloadUrl: process.env.AWS_CONTRIBUTION_URL
2020-01-29 11:54:03 +01:00
}
}