postcss-pxtorem
postcss-pxtorem copied to clipboard
Convert pixel units to rem (root em) units using PostCSS
Part of my vite.config.js: ``` import postCssPxToRem from 'postcss-pxtorem' { ..., css: { postcss: { plugins: [ postCssPxToRem({ rootValue: 16, propList: ['*'], exclude: function (file) { return file.indexOf('Register') === -1;...
It doesn't work when `react-scripts`'s version is higher than or equal to `5.0.0`
When I used version 6.0.0, an error occurred, In the vite + Vue framework, I want to use two different proportions for the UI framework But in the end, all...
my exclude use function:  If the path is matched, then the previous judgment condition is true, and the execution goes to [filePath.match(exclude) !== null] it will error! 
 When the value of left is negative, the conversion result is as shown in the figure, and the number 0 should take the unit. Process on the return value...
This is my project`s package.json.  The waning  This is this postcss-pxtorem`s package.json  This is this postcss`s package.json 
by using this plugin , with webpack + antd/antd-mobile, my webpack.config.js will be : ``` require("postcss-pxtorem")({ rootValue: 37.5, propList: ["*"], minPixelValue: 2, selectorBlackList: [] }), ``` which works well by...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.0 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
when i use postcss-pxtorem as a plugin has a error for it [object Object] is not a PostCSS plugin this is my postcss.config.js module.exports = { plugins: { "postcss-preset-env":{} ,...