2021-07-27 21:11:46 +00:00
|
|
|
const withHashicorp = require('@hashicorp/platform-nextjs-plugin')
|
2020-10-06 13:22:55 +00:00
|
|
|
const redirects = require('./redirects')
|
2020-05-27 03:00:14 +00:00
|
|
|
|
2020-02-06 23:45:31 +00:00
|
|
|
module.exports = withHashicorp({
|
|
|
|
defaultLayout: true,
|
2021-10-05 18:31:14 +00:00
|
|
|
nextOptimizedImages: true,
|
2020-02-06 23:45:31 +00:00
|
|
|
})({
|
2020-10-06 13:22:55 +00:00
|
|
|
redirects() {
|
|
|
|
return redirects
|
|
|
|
},
|
2020-05-27 03:00:14 +00:00
|
|
|
svgo: {
|
|
|
|
plugins: [
|
|
|
|
{
|
|
|
|
removeViewBox: false,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2020-02-06 23:45:31 +00:00
|
|
|
env: {
|
2020-05-06 23:41:32 +00:00
|
|
|
SEGMENT_WRITE_KEY: 'qW11yxgipKMsKFKQUCpTVgQUYftYsJj0',
|
|
|
|
BUGSNAG_CLIENT_KEY: '4fa712dfcabddd05da29fd1f5ea5a4c0',
|
|
|
|
BUGSNAG_SERVER_KEY: '61141296f1ba00a95a8788b7871e1184',
|
2021-12-13 21:21:57 +00:00
|
|
|
ENABLE_VERSIONED_DOCS: process.env.ENABLE_VERSIONED_DOCS || false,
|
2020-05-06 23:41:32 +00:00
|
|
|
},
|
2020-02-06 23:45:31 +00:00
|
|
|
})
|