plane/apps/app/next.config.js
Aaryan Khandelwal 859fef24f4
feat: link option in remirror (#240)
* feat: link option in remirror

* fix: removed link import from remirror toolbar
2023-02-07 11:20:41 +05:30

52 lines
1.3 KiB
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 path = require("path");
const nextConfig = {
reactStrictMode: false,
swcMinify: true,
images: {
domains: [
"vinci-web.s3.amazonaws.com",
"planefs-staging.s3.ap-south-1.amazonaws.com",
"planefs.s3.amazonaws.com",
],
},
output: "standalone",
experimental: {
outputFileTracingRoot: path.join(__dirname, "../../"),
transpilePackages: ["components/ui"],
},
};
module.exports = nextConfig;
// const withPWA = require("next-pwa")({
// dest: "public",
// });
// module.exports = withPWA({
// pwa: {
// dest: "public",
// register: true,
// skipWaiting: true,
// },
// reactStrictMode: false,
// swcMinify: true,
// images: {
// domains: ["vinci-web.s3.amazonaws.com"],
// },
// output: "standalone",
// experimental: {
// outputFileTracingRoot: path.join(__dirname, "../../"),
// transpilePackages: ["components/ui"],
// },
// });
module.exports = withSentryConfig(module.exports, { silent: true }, { hideSourcemaps: true });