mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
25 lines
624 B
JavaScript
25 lines
624 B
JavaScript
// This file sets a custom webpack configuration to use your Next.js app
|
|
// with Sentry.
|
|
// https://nextjs.org/docs/api-reference/next.config.js/introduction
|
|
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/
|
|
const { withSentryConfig } = require('@sentry/nextjs');
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: false,
|
|
experimental: {
|
|
appDir : true,
|
|
},
|
|
swcMinify: true,
|
|
compiler: {
|
|
styledComponents: true,
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|
|
|
|
module.exports = withSentryConfig(
|
|
module.exports,
|
|
{ silent: true },
|
|
{ hideSourcemaps: true },
|
|
);
|