2026-04-23 17:19:48 +08:00
|
|
|
import type { NextConfig } from "next";
|
|
|
|
|
|
|
|
|
|
const nextConfig: NextConfig = {
|
|
|
|
|
output: "export",
|
2026-05-18 16:39:54 +08:00
|
|
|
transpilePackages: ["@snapotter/shared"],
|
|
|
|
|
webpack: (config) => {
|
|
|
|
|
config.resolve.extensionAlias = {
|
|
|
|
|
".js": [".ts", ".tsx", ".js"],
|
|
|
|
|
};
|
|
|
|
|
return config;
|
|
|
|
|
},
|
2026-04-23 17:19:48 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default nextConfig;
|