documentation.federated.com.../node_modules/autoprefixer/lib/vendor.js

15 lines
206 B
JavaScript
Raw Permalink Normal View History

2023-05-30 17:55:11 +00:00
module.exports = {
prefix(prop) {
let match = prop.match(/^(-\w+-)/)
if (match) {
return match[0]
}
return ''
},
unprefixed(prop) {
return prop.replace(/^-\w+-/, '')
}
}