Open valentinbourqui opened 5 years ago
Try to change feature name to kebab-case
variant:
module.exports = {
plugins: {
'postcss-preset-env': {
features: {
'custom-properties': {}
},
},
},
};
@valentinbourqui , did you find a resolution for this issue? I am having similar results.
I have some problem, seems the definition and reference of variable must in the same css file. Or you have to specify var definition file via importFrom
I'm currently trying to add this plugin with Webpack. I have no errors on build but there is no change on output css.
postcss.config.js
webpack.config.js
variables.css
There is probably a mistake but what ?