Source: sync/site/gn.site.sync.js

'use strict';

import '../../shared/debug-init';

/** Schedule and execute our site modules one at a time.
 *
 * - An exception thrown in the execution of a single module
 *   will not prevent another module from executing.
 *
 * TODO: Lowercase the names of imported functions, for consistency and best practice
 */

import JsCookiesGN from '../../shared/site/config/js-cookies-gn';
import CJ from './session/cj'; // eslint-disable-line id-length

import { runModules } from '../../shared/run-modules';

/** The list of modules in order of execution */
const modules = [
  /* Config */
  JsCookiesGN,

  /* Session tracking modules */
  CJ,
];

runModules(modules);