wallet-core/node_modules/clean-css/lib/options/inline.js
2017-05-03 15:35:00 +02:00

12 lines
197 B
JavaScript

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