summaryrefslogtreecommitdiff
path: root/node_modules/@csstools/postcss-exponential-functions/dist/index.cjs
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@csstools/postcss-exponential-functions/dist/index.cjs')
-rw-r--r--node_modules/@csstools/postcss-exponential-functions/dist/index.cjs1
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/@csstools/postcss-exponential-functions/dist/index.cjs b/node_modules/@csstools/postcss-exponential-functions/dist/index.cjs
new file mode 100644
index 00000000..defdaba9
--- /dev/null
+++ b/node_modules/@csstools/postcss-exponential-functions/dist/index.cjs
@@ -0,0 +1 @@
+"use strict";var e=require("@csstools/css-calc");const s=new RegExp(`(${["exp","hypot","log","pow","sqrt"].join("|")})\\(`,"i"),creator=o=>{const t=Object.assign({preserve:!1},o);return{postcssPlugin:"postcss-exponential-functions",Declaration(o){if(!s.test(o.value))return;const c=e.calc(o.value);c!==o.value&&(o.cloneBefore({value:c}),t.preserve||o.remove())}}};creator.postcss=!0,module.exports=creator;