2022-11-19 14:21:26 +00:00
|
|
|
/** @type {import('next').NextConfig} */
|
2022-12-01 13:48:10 +00:00
|
|
|
const path = require("path");
|
|
|
|
|
2022-11-19 14:21:26 +00:00
|
|
|
const nextConfig = {
|
|
|
|
reactStrictMode: false,
|
|
|
|
swcMinify: true,
|
|
|
|
images: {
|
2023-01-26 18:12:20 +00:00
|
|
|
domains: ["vinci-web.s3.amazonaws.com", "planefs-staging.s3.ap-south-1.amazonaws.com"],
|
2022-11-19 14:21:26 +00:00
|
|
|
},
|
2023-01-26 18:12:20 +00:00
|
|
|
output: "standalone",
|
2022-12-01 13:48:10 +00:00
|
|
|
experimental: {
|
|
|
|
outputFileTracingRoot: path.join(__dirname, "../../"),
|
2023-01-26 18:12:20 +00:00
|
|
|
transpilePackages: ["components/ui"],
|
2022-12-01 13:48:10 +00:00
|
|
|
},
|
2022-11-19 14:21:26 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = nextConfig;
|
2023-01-26 18:12:20 +00:00
|
|
|
|
|
|
|
// 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"],
|
|
|
|
// },
|
|
|
|
// });
|