How do I configure the output directory for the Front End Hosting - Advanced offering?
Date Published: May 7, 2025
The Front End Hosting - Advanced offering expects the output directory in a default location based on a framework such as .next or .nuxt. To customize the output directory, edit the framework’s config file,add the distDir property in next.config.js for the Next framework , add the buildDir property in nuxt.config.js for Nuxt.
The following is an example configuration for the Next framework: