Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linaria: disable autoprefixing #2370

Merged
merged 2 commits into from
Apr 22, 2021
Merged

Linaria: disable autoprefixing #2370

merged 2 commits into from
Apr 22, 2021

Conversation

nstepien
Copy link
Contributor

@nstepien nstepien commented Apr 22, 2021

callstack/linaria#57 (comment)

Linaria/Stylis add a LOT of prefixed css properties, when we don't need any of them, so I disabled them. I don't think we need any prefixes anymore nowadays. And if we do I'd rather we manage it ourselves. Prefixes is a thing of the past and browsers don't add new ones anymore.
The css properties in the devtools will be less polluted now.
We don't even have any prefixes in our codebase anymore afaict.

Build output example:
image
image
image

@nstepien nstepien self-assigned this Apr 22, 2021
@nstepien nstepien marked this pull request as ready for review April 22, 2021 14:33
@nstepien nstepien requested a review from amanmahajan7 April 22, 2021 14:33
amanmahajan7
amanmahajan7 previously approved these changes Apr 22, 2021
"useBuiltIns": "entry",
"include": [
"@babel/proposal-nullish-coalescing-operator",
"@babel/proposal-optional-chaining"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are included anyway as long as we support "maintained node versions"
https://github.com/adazzle/react-data-grid/blob/canary/browserslist#L5

@nstepien nstepien merged commit e310ffa into canary Apr 22, 2021
@nstepien nstepien deleted the lin branch April 22, 2021 14:46
gernotkogler pushed a commit to Garaio-REM/react-data-grid that referenced this pull request May 13, 2021
* Linaria: disable autoprefixing

* rm proposal-nullish-coalescing-operator and proposal-optional-chaining in babel config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants