@uppercod/esbuild-css-literals
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@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,
        }),
    ],
});

/@uppercod/esbuild-css-literals/

    Package Sidebar

    Install

    npm i @uppercod/esbuild-css-literals

    Weekly Downloads

    1

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    13.9 kB

    Total Files

    6

    Last publish

    Collaborators

    • uppercod