55e195f161
* upgrades deps and gets it building * remove unneeded css file * fix: hide intended elements in print (#12710) * upgrade deps to latest Co-authored-by: Zachary Shilton <4624598+zchsh@users.noreply.github.com>
22 lines
617 B
JavaScript
22 lines
617 B
JavaScript
const withHashicorp = require('@hashicorp/platform-nextjs-plugin')
|
|
const redirects = require('./redirects.next')
|
|
|
|
module.exports = withHashicorp({
|
|
nextOptimizedImages: true,
|
|
})({
|
|
svgo: { plugins: [{ removeViewBox: false }] },
|
|
rewrites: () => [
|
|
{
|
|
source: '/api/:path*',
|
|
destination: '/api-docs/:path*',
|
|
},
|
|
],
|
|
redirects: () => redirects,
|
|
env: {
|
|
HASHI_ENV: process.env.HASHI_ENV || 'development',
|
|
SEGMENT_WRITE_KEY: 'OdSFDq9PfujQpmkZf03dFpcUlywme4sC',
|
|
BUGSNAG_CLIENT_KEY: '07ff2d76ce27aded8833bf4804b73350',
|
|
BUGSNAG_SERVER_KEY: 'fb2dc40bb48b17140628754eac6c1b11',
|
|
},
|
|
})
|