Skip to content

Commit bd14eb1

Browse files
committed
fix the build issues
1 parent ba05047 commit bd14eb1

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

next.config.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,13 @@
55
const { withSentryConfig } = require('@sentry/nextjs')
66

77
/** @type {import('next').NextConfig} */
8-
const nextConfig = {
8+
const moduleExports = {
99
output: 'standalone',
1010
reactStrictMode: true,
1111
swcMinify: true,
1212
eslint: {
1313
dirs: ['pages', 'utils'], // Only run ESLint on the 'pages' and 'utils' directories during production builds
1414
},
15-
}
16-
17-
const moduleExports = {
18-
nextConfig,
1915
sentry: {
2016
// Use `hidden-source-map` rather than `source-map` as the Webpack `devtool`
2117
// for client-side builds. (This will be the default starting in

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
"@rjsf/utils": "^5.0.0-beta.17",
2020
"@rjsf/validator-ajv8": "^5.0.1",
2121
"@scientist-softserv/webstore-component-library": "^0.1.16",
22-
"@sentry/react": "^7.42.0",
23-
"@sentry/tracing": "^7.42.0",
22+
"@sentry/nextjs": "^7.42.0",
2423
"axios": "^1.1.3",
2524
"bootstrap": "^5.2.3",
2625
"next": "12.3.1",

0 commit comments

Comments
 (0)