Error on CSS

When I save my document I get this error.

I delete line but on save other time.

Any idea if this is a bug or what?

This is not a bug, but the Linter saying that this is an error.

I am using Wappler 6.0.5 with the beta channel, and I get

div {
    display: flex;
}

This is correct for all modern browsers.

For more info, see:

I am using 6.0.5 but on stable channel. The problem is even when I delete it when the document is saved it recreate that property and get the error other time.

What is a good parameter? Disable the auto prefixer?

You could do that. Otherwise ignore the error message.

2 Likes

I read this in @ben link above:

Browser support for flexbox is excellent, and the majority of browsers do not need a prefix at this point. Safari was the last of the major browsers to remove prefixes, with the release of Safari 9 in 2015.

1 Like

Saw this just yesterday as well.
The bug here is that Wappler is not automatically removing these extra definitions, which it had added automatically in previous versions.
So the CSS autoprefixer needs to be smarter probably.

Not sure how big the CSS file here is, but we have some big CSS files, with 50+ such errors, which I would have to remove one by one manually.
So in my opinion, a bug. @ben