1.0.0 • Published 4 years ago

wmr-autoprefixer v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

wmr-autoprefixer

This is a version of the PostCSS-Autoprefixer bundled as a wmr plugin in a single file.

Install

npm i --save-dev wmr-autoprefixer

or

yarn add --dev wmr-autoprefixer

Usage

Add the plugin to your wmr.config.mjs.

import { defineConfig } from 'wmr';
import autoPrefixer from 'wmr-autoprefixer';

export default defineConfig({
  plugins: [autoPrefixer()],
});

Configure the browserslist in your package.json according to the compatibility you need. See Browserslist docs to know all the possibilities.

Ex:

"browserslist": [
  "defaults",
  "last 4 versions"
]