requirejs.config({ //By default load any module IDs from js/lib baseUrl: bst_script_config_vars.basedir, //except, if the module ID starts with "app", //load it from the js/app directory. paths //config is relative to the baseUrl, and //never includes a ".js" extension since //the paths config could be for a directory. paths: { app: 'components' } }); require(['uikit.min', 'components/lightbox.min', 'scripts' ]);