saleor-apps-redis_apl/apps/data-importer/next.config.js
2023-03-01 15:24:16 +01:00

18 lines
585 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}
*/
module.exports = {
reactStrictMode: true,
experimental: {
esmExternals: true,
},
transpilePackages: ["nuvo-react", "@saleor/apps-shared"],
};
module.exports = withSentryConfig(module.exports, { silent: true }, { hideSourcemaps: true });