diff options
Diffstat (limited to 'node_modules/postcss-will-change/index.js')
| -rw-r--r-- | node_modules/postcss-will-change/index.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/node_modules/postcss-will-change/index.js b/node_modules/postcss-will-change/index.js deleted file mode 100644 index b3172adc..00000000 --- a/node_modules/postcss-will-change/index.js +++ /dev/null @@ -1,16 +0,0 @@ -module.exports = () => { - return { - postcssPlugin: 'postcss-will-change', - Declaration: { - 'will-change': decl => { - let already = decl.parent.some(i => { - return i.type === 'decl' && i.prop === 'backface-visibility' - }) - if (!already) { - decl.cloneBefore({ prop: 'backface-visibility', value: 'hidden' }) - } - } - } - } -} -module.exports.postcss = true |
