1.1.0 • Published 2 years ago

@uppercod/esbuild-css-literals v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

@uppercod/esbuild-css-literals

This plugin allows to transform the css literals either by minifying them or preprocessing them with postcss

Example

import pluginCssLiterals from "@uppercod/esbuild-css-literals";
import esbuild from "esbuild";

await esbuild.build({
    entryPoints: ["./tests/example.jsx"],
    plugins: [
        pluginCssLiterals({
            minify: true,
            postcss: true,
        }),
    ],
});