24 lines
810 B
JavaScript
24 lines
810 B
JavaScript
const { withSentryConfig } = require('@sentry/nextjs');
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
webpack: (config) => {
|
|
const experiments = config.experiments || {};
|
|
config.experiments = {...experiments, asyncWebAssembly: true};
|
|
return config
|
|
},
|
|
}
|
|
|
|
const sentryWebpackPluginOptions = {
|
|
// Additional config options for the Sentry Webpack plugin. Keep in mind that
|
|
// the following options are set automatically, and overriding them is not
|
|
// recommended:
|
|
// release, url, org, project, authToken, configFile, stripPrefix,
|
|
// urlPrefix, include, ignore
|
|
|
|
// For all available options, see:
|
|
// https://github.com/getsentry/sentry-webpack-plugin#options.
|
|
};
|
|
|
|
module.exports = withSentryConfig(nextConfig, sentryWebpackPluginOptions); |