ProxMenux/web/next.config.mjs

21 lines
550 B
JavaScript
Raw Normal View History

2025-02-13 23:04:40 +01:00
/** @type {import('next').NextConfig} */
const nextConfig = {
2025-02-14 11:44:56 +01:00
output: "export",
2025-02-13 23:04:40 +01:00
images: {
unoptimized: true,
},
2025-02-14 11:44:56 +01:00
assetPrefix: "/ProxMenux/",
basePath: "/ProxMenux",
staticPageGenerationTimeout: 180, // Aumentamos el tiempo de espera a 180 segundos
webpack: (config, { isServer }) => {
const path = require("path")
config.resolve.alias["@guides"] = path.join(__dirname, "..", "guides")
config.resolve.alias["@changelog"] = path.join(__dirname, "..", "CHANGELOG.md")
return config
2025-02-13 23:04:40 +01:00
},
}
2025-02-14 11:44:56 +01:00
module.exports = nextConfig
2025-02-13 23:04:40 +01:00