Skip to content

Remove autoprefixer in dev mode? #285

Closed

Description

@kitze

When debugging flex in the Chrome dev tools, it's a bit of a hassle to go through all the autoprefixed properties, turn them off/on and play with their values.

Example 👉 https://i.imgur.com/4gtJj0X.png
Is there a way that autoprefixer can be turned off in dev mode?

Activity

  1. jaydenseric commented on Dec 14, 2016

    @jaydenseric
    Contributor

    Unfortunately there is not a browser on the market that will render everything properly without using at least some prefixes; turning it off entirely is not desirable. If the auto-prefixing is adding redundant prefixes, then that is an issue ideally solved for development and production.

  2. mxstbr commented on Dec 14, 2016

    @mxstbr
    Member

    I think this will be quite a bit of effort for not a lot of benefit, so I'll close this for now. #286 will improve the autoprefixing a bit!

  3. psixdev commented on Jan 4, 2018

    @psixdev

    Disabling of autoprefixer would be a convenient feature. Very strange and pitiful that you are against this

  4. kitten commented on Jan 4, 2018

    @kitten
    Member

    @psixdev this might be possible in the future once we segregate our CSS pipeline from the main project. This might make it possible to configure this through a babel plugin

    The plan for this is outlined here: https://github.com/philpl/sweetsour

    Once — let's say if — this happens I'll reopen this issue 😉

  5. gitowiec commented on Jul 8, 2020

    @gitowiec

    So what about disabling vendor prefixes in development mode? Any moves bringing us closer to this awesome (and very needed) feature? Do you remember this picture? It is hard to develop with such a mess on screen

    image

  6. kitten commented on Jul 8, 2020

    @kitten
    Member

    @gitowiec thats a thing now if you use the StyleSheetManager provider:

    Edit: also please avoid pinging 4 year old threads. I know we have one for almost any topic now, so it's tempting, but all subscribers to old issues have likely moved on from these issues 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions