saleor-apps-redis_apl/apps/data-importer/next.config.js

19 lines
585 B
JavaScript
Raw Normal View History

2023-03-01 14:24:16 +00:00
// 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");
2023-02-07 18:11:39 +00:00
/**
2023-02-07 19:09:51 +00:00
* @type {import('next').NextConfig}
2023-02-07 18:11:39 +00:00
*/
2023-02-07 19:09:51 +00:00
module.exports = {
2023-02-07 18:11:39 +00:00
reactStrictMode: true,
experimental: {
esmExternals: true,
},
transpilePackages: ["nuvo-react", "@saleor/apps-shared"],
2023-02-07 19:09:51 +00:00
};
2023-03-01 14:24:16 +00:00
module.exports = withSentryConfig(module.exports, { silent: true }, { hideSourcemaps: true });