Loading...


Related Products


How do I specify the root directory or output directory for my Node.js project?

  • To specify the root directory, add the directory path to the extra.acquia.root_directory section in the package.json file of the root directory.
  • To specify the output directory, add the directory path to the extra.acquia.output_directory section in the package.json file of the root directory. For example:
"extra": {       
             "acquia": {
               "root_directory": "front-end/",
               "output_directory": "assets/"
             }
            }

The default root directory is <project_root>/, and the default output directory is <project_root>/.next/.


 

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Back to Section navigation
Back to Site navigation