Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --vcs option for "new" subcommand #901

Open
carlosouro opened this issue Aug 19, 2020 · 0 comments
Open

Add --vcs option for "new" subcommand #901

carlosouro opened this issue Aug 19, 2020 · 0 comments

Comments

@carlosouro
Copy link

carlosouro commented Aug 19, 2020

馃挕 Feature description

In Cargo, --vcs enables us to discard default git repository initialisation (--vcs none), or use a separate VCS instead.
It would be good to have the same ability in wasm-pack, in particular --vcs none.

馃捇 Basic example

The option --vcs none is of particular importance for when we want to use wasm-pack combined with eg. wasm-pack-plugin to create an embedded wasm module within an app existing git repo, without having to publish it through NPM separately.

wasm-pack new appHelper --vcs none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant