source: frontend/node_modules/node-exports-info/getCategoryInfo.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 426 bytes
Line 
1'use strict';
2
3var getCategoryFlags = require('./getCategoryFlags');
4var getConditionsForCategory = require('./getConditionsForCategory');
5
6/** @type {import('./getCategoryInfo')} */
7module.exports = function getCategoryInfo(category, moduleSystem) {
8 var conditions = getConditionsForCategory(category, moduleSystem || 'require');
9 var flags = getCategoryFlags(category);
10 return { conditions: conditions, flags: flags };
11};
Note: See TracBrowser for help on using the repository browser.