Bundled Node modules

    Bundled node modules are often referred to as dependencies. In ArangoDB thisterm can often be ambiguous because Foxx also provides a for linking services together.

    Make sure to include the actual node_modules folder in your Foxx servicebundle as ArangoDB will not automatically install these dependencies for you.Also keep in mind that bundling extraneous modules like developmentdependencies may bloat the file size of your Foxx service bundle.

    1. # the 'prettier' folder will now be excluded
    2. foxx install /my-foxx-service

    Keep in mind that both yarn and npm typically also install dependencies ofyour dependencies to the node_modules folder which you’ll need to ignore aswell if you want to exclude these modules from your service bundle.