1. postcss-unprefix
Unprefixes vendor prefixes in legacy CSS.
postcss-unprefix
Package: postcss-unprefix
Created by: gucong3000
Last modified: Fri, 24 Jun 2022 11:08:07 GMT
Version: 2.1.4
License: MIT
Downloads: 4,110
Repository: https://github.com/gucong3000/postcss-unprefix

Install

npm install postcss-unprefix
yarn add postcss-unprefix

postcss-unprefix

Unprefixes vendor prefixes in legacy CSS.

NPM version
Travis
Codecov
David

Though, please use autoprefixer as part of your build process to ensure proper browser support.

Gif Deom

Installation

 npm install --save postcss-unprefix

Usage

 var postcss = require("gulp-html-postcss");
var unprefix = require("postcss-unprefix");
var autoprefixer = require("autoprefixer");

gulp.task("clear-css", function () {
	var processors = [
		unprefix,
		autoprefixer,
	];
	return gulp.src("./src/**/*.css")
		.pipe(postcss(processors))
		.pipe(gulp.dest('./dest'));
});

Input

 .flex {
	display: -webkit-flex;
	display: -moz-flex;
	-webkit-flex: 1;
}

Output

 .flex {
	display: flex;
	flex: 1;
}

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin