


Warning: Using exportPathMap is deprecated and is overridden by getStaticPaths inside pages. getInitialProps will generate the HTML files during next export instead of next build. css file that can be linked to your HTML documents. Then, next export will copy the already exported files into the correct directory. Then, you can use the compiler to process the SCSS code and generate a corresponding. During next build, getStaticProps and getStaticPaths will generate an HTML file for each page in your pages directory (or more for dynamic routes). Next export builds an HTML version of your app. Running npm run build will generate an out directory. Update your file to include output: 'export' like the following: /** Since Next.js supports this static export, it can be deployed and hosted on any web server that can serve HTML/CSS/JS static assets. For example, Incremental Static Regeneration, Internationalized Routing, and more. The core of Next.js has been designed to enable starting as a static site (or Single-Page Application), if desired, and later upgrade to use powerful, dynamic features that require a server. Next.js can be used to generate static applications, including using React in the browser without the need for a Node.js server.
