docs: function createModule$IfNeeded( project, cfg, options ) {
    const file = project.srcPath( "mod/$.js" );
    if ( !PathUtils.isNewer( project.prjPath( 'package.json' ), file ) ) {
      // There is nothing to do until `$.js` is not older than `package.json`.
      return;
    }
    const moduleContent = getModuleContentFor$( cfg );
  
    if ( cfg.tfw.consts ) {
      if ( cfg.tfw.consts.all ) {
        Object.keys( cfg.tfw.consts.all ).forEach( key => {
          const val = cfg.tfw.consts.all[ key ];
          moduleContent.consts[ key ] = val;
        } );
      }
      if ( options.dev ) {
        if ( cfg.tfw.consts.debug ) {
          Object.keys( cfg.tfw.consts.debug ).forEach( key => {
            const val = cfg.tfw.consts.debug[ key ];
            moduleContent.consts[ key ] = val;
          } );
        }
      } else if ( cfg.tfw.consts.release ) {
        Object.keys( cfg.tfw.consts.debug ).forEach( key => {
          const val = cfg.tfw.consts.release[ key ];
          moduleContent.consts[ key ] = val;
        } );
      }
      console.log( "Constants: ".yellow + JSON.stringify( moduleContent.consts, null, '  ' ) );
    }
    const contentOfModule$ = FS.readFileSync( Path.join( project._tplDir, "$.js" ) );
    PathUtils.file(
      file,
      `exports.config=${JSON.stringify( moduleContent )};\n${contentOfModule$}`
    );
  }