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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace target flags with --target #1369

Merged
merged 1 commit into from
Mar 21, 2019

Commits on Mar 21, 2019

  1. Replace target flags with --target

    This commit deprecates the `--web`, `--no-modules`, and `--nodejs` flags
    in favor of one `--target` flag. The motivation for this commit is to be
    consistent between `wasm-bindgen` and `wasm-pack` so documentation for
    one is applicable for the other (so we don't have to document everywhere
    what the translation is between flags). Additionally this should make it
    a bit easier to add new targets (if necessary) in the future as it won't
    add to the proliferation of flags.
    
    For now the old flags (like `--web`) continue to be accepted, but
    they'll be removed during the next set of breaking changes for
    `wasm-bindgen`.
    alexcrichton committed Mar 21, 2019
    Configuration menu
    Copy the full SHA
    995be7c View commit details
    Browse the repository at this point in the history