- Add GrowerAdvisoryAgent test file - Fix PlantChain constructor initialization order (plantIndex before genesis block) - Fix blockchain.getChain() calls to use blockchain.chain property - Add PropagationType export to blockchain types - Fix SoilComposition.type property references (was soilType) - Fix ClimateConditions.temperatureDay property references (was avgTemperature) - Fix ClimateConditions.humidityAverage property references (was avgHumidity) - Fix LightingConditions.naturalLight.hoursPerDay nested access - Add 'critical' severity to QualityReport issues - Add 'sqm' unit to PlantingRecommendation.quantityUnit - Fix GrowerAdvisoryAgent growthMetrics property access - Update TypeScript to v5 for react-hook-form compatibility - Enable downlevelIteration in tsconfig for Map iteration - Fix crypto Buffer type issues in anonymity.ts - Fix zones.tsx status type comparison - Fix next.config.js images.domains filter - Rename [[...slug]].tsx to [...slug].tsx to resolve routing conflict
28 lines
505 B
JavaScript
28 lines
505 B
JavaScript
module.exports = {
|
|
swcMinify: true,
|
|
i18n: {
|
|
locales: ["en", "es"],
|
|
defaultLocale: "en",
|
|
},
|
|
images: {
|
|
domains: [process.env.NEXT_IMAGE_DOMAIN].filter(Boolean),
|
|
},
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: "/blog",
|
|
destination: "/blog/page/0",
|
|
},
|
|
{
|
|
source: "/es",
|
|
destination: "/es/home",
|
|
locale: false,
|
|
},
|
|
{
|
|
source: "/en/principal",
|
|
destination: "/",
|
|
locale: false,
|
|
},
|
|
]
|
|
},
|
|
}
|