Closed
Description
Hello, I'm disabling the oklab-function
in my config, and recently I'm getting a warning that the feature doesn't exist. It's suggesting to use lab-function
which is a different one.
[next:dev] (1:1) postcss-preset-env: Unknown feature: "postcss-oklab-function", did you mean: "lab-function"
My postcss config:
import postcssMixins from 'postcss-mixins';
{
plugins: {
'postcss-import': {},
'postcss-replace': {
pattern: /token\(.*?--([^\s]+?)\)/gi,
data: tokens,
},
'postcss-preset-env': {
stage: 0,
features: {
'logical-properties-and-values': false,
'prefers-color-scheme-query': false,
'postcss-oklab-function': false,
'gap-properties': false,
'cascade-layers': false,
},
insertAfter: {
'custom-media-queries': postcssMixins,
},
},
'postcss-mixins': {},
cssnano: {
preset: [
'default',
{
discardComments: {
removeAll: true,
},
},
],
},
}
}
I'm getting this warning in every file where I use oklch
colors
Metadata
Metadata
Assignees
Labels
No labels