trusted-setup-server/nuxt.config.js

124 lines
3.0 KiB
JavaScript
Raw Normal View History

2020-01-29 11:54:03 +01:00
module.exports = {
mode: 'universal',
/*
** Headers of the page
*/
head: {
2020-01-29 14:13:06 +01:00
title: 'Tornado 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',
content: 'Tornado Trusted Setup Ceremony'
},
{
hid: 'og:description',
property: 'og:description',
content: 'Non-custodial, trustless, serverless, private transactions on Ethereum network'
},
{
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: 'Non-custodial, trustless, serverless, private transactions on Ethereum network'
},
{
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-01-29 17:59:37 +01:00
plugins: [{ src: '~plugins/phase2', ssr: false }],
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-01-29 11:54:03 +01:00
// Doc: https://axios.nuxtjs.org/usage
'@nuxtjs/axios'
],
/*
** Axios module configuration
** See https://axios.nuxtjs.org/options
*/
axios: {},
/*
** 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-01-29 11:54:03 +01:00
}
}