search

Home  >  Q&A  >  body text

javascript - How to configure browsers parameters in vscode's autoprefixer plug-in

The mac version of vscode has the autoprefixer plug-in installed. The default value of browsers is last 2 version. I have never found where to modify it:
=. =
ps: Either I want to ask about automated configuration such as gulp, or I simply want to ask where to change the configuration of the vscode plug-in.

为情所困为情所困2749 days ago1508

reply all(3)I'll reply

  • 黄舟

    黄舟2017-05-19 10:36:51

    Write it in the preferences.

    reply
    0
  • 高洛峰

    高洛峰2017-05-19 10:36:51

    Preferences----Settings are written in settings.json

        "autoprefixer.browsers": [
            "last 3 versions",
            "ie >= 10",
            "ie_mob >= 10",
            "ff >= 30",
            "chrome >= 34",
            "safari >= 6",
            "ios >= 6",
            "android >= 4.4"
        ],

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-19 10:36:51

    In fact, it is better to add a prefix when packaging. . . If you add it in the editor, it will look messy

    reply
    0
  • Cancelreply