mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-13 05:55:26 +00:00
update
This commit is contained in:
15
node_modules/clean-css/lib/options/inline.js
generated
vendored
Normal file
15
node_modules/clean-css/lib/options/inline.js
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
function inlineOptionsFrom(rules) {
|
||||
if (Array.isArray(rules)) {
|
||||
return rules;
|
||||
}
|
||||
|
||||
if (rules === false) {
|
||||
return ['none'];
|
||||
}
|
||||
|
||||
return undefined === rules ?
|
||||
['local'] :
|
||||
rules.split(',');
|
||||
}
|
||||
|
||||
module.exports = inlineOptionsFrom;
|
Reference in New Issue
Block a user