bravo68web-portfolio-nextjs/next.config.js

18 lines
527 B
JavaScript
Raw Normal View History

2022-05-02 14:33:09 +00:00
const { withSentryConfig } = require('@sentry/nextjs');
const moduleExports = {
2021-11-30 16:36:48 +00:00
reactStrictMode: true,
compiler: {
// ssr and displayName are configured by default
styledComponents: true,
},
};
2022-05-02 14:33:09 +00:00
const sentryWebpackPluginOptions = {
silent: true, // Suppresses all logs
};
// Make sure adding Sentry options is the last code to run before exporting, to
// ensure that your source maps include changes from all other Webpack plugins
module.exports = withSentryConfig(moduleExports, sentryWebpackPluginOptions);