- Script build-apk-simple.sh créé pour build sans Docker - Installation SDKMAN + Java 21 requise par Capacitor - Configuration Android SDK via cmdline-tools - APK généré: dist/compagnon-lagon-beta.apk - Export statique Next.js configuré (next.config.export.js) - Taille APK: ~5MB prêt pour distribution Pour rebuild: ./scripts/build-apk-simple.sh
14 lines
243 B
JavaScript
14 lines
243 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
swcMinify: true,
|
|
output: "export",
|
|
compress: true,
|
|
poweredByHeader: false,
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|