core/next.config.js

17 lines
394 B
JavaScript

/* eslint-disable @typescript-eslint/no-var-requires */
// const { withSentryConfig } = require('@sentry/nextjs')
const { withSentryConfig } = require('@sentry/nextjs')
const VERSION = require('./package.json').version
module.exports = withSentryConfig({
env: {
NEXT_PUBLIC_RELEASE_VERSION: VERSION
},
future: {
webpack5: true,
},
experimental: {
scrollRestoration: true
}
}, {})