mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-04-25 12:19:10 +00:00
15 lines
347 B
JavaScript
15 lines
347 B
JavaScript
require('dotenv').config({ quiet: true })
|
|
const withTypescript = require('@zeit/next-typescript')
|
|
module.exports = withTypescript({
|
|
publicRuntimeConfig: {
|
|
BOT_HANDLE: process.env.BOT_HANDLE
|
|
},
|
|
webpack: config => {
|
|
// Fixes npm packages that depend on `fs` module
|
|
config.node = {
|
|
fs: 'empty'
|
|
}
|
|
|
|
return config
|
|
}
|
|
})
|