update: Only allow tsx and ts page ext

This commit is contained in:
mbaharip
2025-01-24 17:51:29 +07:00
parent 86e152cd27
commit 91b2d11198
+1 -5
View File
@@ -3,11 +3,7 @@
/** @type {import("next").NextConfig} */ /** @type {import("next").NextConfig} */
const nextConfig = { const nextConfig = {
reactStrictMode: true, reactStrictMode: true,
webpack: (config) => { pageExtensions: ["tsx", "ts"],
config.resolve.alias.canvas = false;
return config;
},
}; };
module.exports = nextConfig; module.exports = nextConfig;