Mail: [email protected]
Phone: +1(424)231-4091
Everything you need to know about NexoPOS.
The module's manifest is a file that helps to configure how modules are extracted. By default, when you try to extract a module, all its content will be extracted, including "node_modules" and "vendors" folders. The issue with this approach is that you might end up quickly with a very heavy module.
The module manifest is a JSON file located at the root of your module. That file MUST be named "manifest.json." On the JSON file, you'll provide the entry "exclude" that accepts an array of strings. As behind-the-scenes fnmatch is being used, you can use patterns to exclude files and folders.
{
'exclude': [
'/node_modules',
'/vendors'
]
}