parcoursup/node_modules/clean-css/lib/options/inline.js
lalBi94 7bc56c09b5 $
2023-03-05 13:23:23 +01:00

16 lines
248 B
JavaScript

function inlineOptionsFrom(rules) {
if (Array.isArray(rules)) {
return rules;
}
if (rules === false) {
return ['none'];
}
return undefined === rules
? ['local']
: rules.split(',');
}
module.exports = inlineOptionsFrom;