Pak supports the definition of execution profiles. For example: dev, test or prod profile. By defining an execution profile, a specific Pak configuration may be easily defined and enabled.
The Pak profile is defined via the profile property. This then selects collections of properties
under the profiles property. For example:
When the profile is set to dev, the properties under profiles.dev are logically copied to the top level of the pak.json properties. i.e. import is set to true.
Use the pak profile MODE command to change the execution profile. For example:
pak profile dev
To display the current profile, run:
Other applications such as Expansive utilize the pak.json profile setting and modify their execution profile similarly. The ESP Web Framework also uses the profile setting.