🚩CLI and Flags

Facilitates the distribution of webcomponents

Flags

--wrappers

You will add the build files to the exports property inside the package.json.

--dist <string>

default wrappers, modifies the output directory for the files generated by

--main <fileName>

Of all the exported files, it will associate the one censored with the name of the file as the main one for the export of the package.json. Main file does not require extension or path

--tmp

Generate a temporary package.tmp.json, to share in case of bugs

--watch

Associate the use of watch with esbuild, ignoring the type parsing and exports.

Last updated