mirror of
https://github.com/cupcakearmy/fantus.git
synced 2026-04-02 17:35:22 +00:00
config files
This commit is contained in:
14
next.config.js
Normal file
14
next.config.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/* jshint esversion:8, asi:true */
|
||||
|
||||
const withStylus = require('@zeit/next-stylus')
|
||||
const withCss = require('@zeit/next-css')
|
||||
|
||||
const config = require('dotenv').config().parsed || {}
|
||||
const { RECAPTCHA_CLIENT, RECAPTCHA_SERVER } = config
|
||||
|
||||
module.exports = withCss(withStylus({
|
||||
publicRuntimeConfig: {
|
||||
RECAPTCHA_CLIENT,
|
||||
},
|
||||
serverRuntimeConfig: config,
|
||||
}))
|
||||
Reference in New Issue
Block a user