Barath SR
CDCloudflare Developers
•Created by Aravinda on 7/27/2024 in #general-help
File Size in Pages
Please assure the "next.config.js" file that include this configurations in it👇:
/** @type {import('next').NextConfig} */
const path = require('path');
const nextConfig = {
output: 'export',
reactStrictMode: false,
sassOptions: {
includePaths: [path.join(__dirname, 'css')],
},
trailingSlash: true,
devIndicators: {
buildActivity: false,
},
eslint: {
ignoreDuringBuilds: false,
},
};
module.exports = nextConfig;
Then refer this : https://developers.cloudflare.com/pages/framework-guides/nextjs/deploy-a-static-nextjs-site/#deploy-your-application-to-cloudflare-pages document for setup the build.
You will catch up your solution.
7 replies
CDCloudflare Developers
•Created by Barath SR on 1/29/2024 in #general-help
Page Redirection Issue
@z0rrn @semaja2 Thank you for bringing me out of the issue. the solution you shared works.
4 replies