Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

plxity/esbuild-cross-browser-css

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4 Commits

Repository files navigation

ESBuild Cross Browser CSS Plugin

An ESBuild plugin to add support for cross-browser CSS.

Example

Input

div{
display: flex
}

Output

div{
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}

Use

Create a file

esbuild.config.js

process.exit(1));">import esbuild from 'esbuild';
import CrossBrowserCSS from 'esbuild-plugin-cross-browser-css';

esbuild
.build({
entryPoints: ... // Input file
bundle: true,
outfile: ... // Output file
plugins: [CrossBrowserCSS()]
})
.catch(() => process.exit(1));

About

An ESBuild plugin to make CSS compatible for all browsers.

Topics

Resources

Readme

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors