summaryrefslogtreecommitdiff
path: root/node_modules/postcss-place/dist/index.cjs
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/postcss-place/dist/index.cjs')
-rw-r--r--node_modules/postcss-place/dist/index.cjs1
1 files changed, 0 insertions, 1 deletions
diff --git a/node_modules/postcss-place/dist/index.cjs b/node_modules/postcss-place/dist/index.cjs
deleted file mode 100644
index 753f4b66..00000000
--- a/node_modules/postcss-place/dist/index.cjs
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";var e=require("postcss-value-parser");function onCSSDeclaration(r,o,s){const n=r.prop.toLowerCase().match(t)?.[1];if(!n)return;let a;try{a=e(r.value)}catch(e){r.warn(o,`Failed to parse value '${r.value}'. Leaving the original value intact.`)}if(void 0===a)return;let i=[];i=a.nodes.length?a.nodes.filter((e=>"word"===e.type||"function"===e.type)).map((t=>e.stringify(t))):[e.stringify(a.nodes)],r.cloneBefore({prop:`align-${n}`,value:i[0]}),r.cloneBefore({prop:`justify-${n}`,value:i[1]||i[0]}),s.preserve||r.remove()}const t=/^place-(content|items|self)/,creator=e=>{const r=Object.assign({preserve:!0},e);return{postcssPlugin:"postcss-place",Declaration:(e,{result:o})=>{t.test(e.prop.toLowerCase())&&onCSSDeclaration(e,o,r)}}};creator.postcss=!0,module.exports=creator;