Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface AutoprefixerOptions
import { type AutoprefixerOptions } from "https://deno.land/x/fresh@1.6.3/plugins/tailwind/types.ts";

Properties

optional
env: string

environment for Browserslist

optional
cascade: boolean

should Autoprefixer use Visual Cascade, if CSS is uncompressed

optional
add: boolean

should Autoprefixer add prefixes.

optional
remove: boolean

should Autoprefixer [remove outdated] prefixes

optional
supports: boolean

should Autoprefixer add prefixes for @supports parameters.

optional
flexbox: boolean | "no-2009"

should Autoprefixer add prefixes for flexbox properties

optional
grid: boolean | "autoplace" | "no-autoplace"

should Autoprefixer add IE 10-11 prefixes for Grid Layout properties

optional
stats: { [browser: string]: { [version: string]: number; }; }

custom usage statistics for > 10% in my stats browsers query

optional
overrideBrowserslist: string | string[]

list of queries for target browsers. Try to not use it. The best practice is to use .browserslistrc config or browserslist key in package.json to share target browsers with Babel, ESLint and Stylelint

optional
ignoreUnknownVersions: boolean

do not raise error on unknown browser version in Browserslist config.