Skip to main content

General

This object includes general configurations, such as the project name.

Here is a minimal example:

import getDirName from 'cpp.js/src/utils/getDirName.js';

export default {
general: {
name: 'sampleName',
},
paths: {
project: getDirName(import.meta.url),
},
};

Attributes

NameTypeDefaultDescription
namestringname attribute in package.jsonOutput file name