egoist / egoist/tsup

Pass current mode and git commit hash as compile-time vars

Open
#694 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11.3k
Forks
275
PR merge metrics
No merged PRs in 30d

Description

So, I understand that the git commit hash can be passed with `--env.VERSION "$(git rev-parse HEAD)"` but I also would like to compile in the modes: cjs, mjs or iffe. Can I do that?

bild

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.