1.0.2 • Published 3 years ago

@atomico/esbuild-jsx-runtime v1.0.2

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

Transferred to

@atomico/esbuild-jsx-runtime -> @uppercod/esbuild-jsx-runtime

This plugin provides a shallow implementation of jsx-runtime. it does not perform an analysis it only injects the jsxImportSource when working with jsx ortsx files.

Example

import pluginsJsxRuntime from "@atomico/esbuild-jsx-runtime";
import esbuild from "esbuild";

await esbuild.build({
    entryPoints: ["./tests/example.jsx"],
    plugins: [
        pluginsJsxRuntime({
            jsxFactory, // default "_jsx",
            jsxFragment, // default "Fragment",
            jsxImportSource, // default "atomico"
        }),
    ],
});
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago