Skip to content

Allow passing extra command-line flags to cargo #455

Closed
@RReverser

Description

@RReverser

💡 Feature description

I'm often building my packages on CI with --locked / --frozen after the dependencies have been downloaded.

I'd like to do the same with wasm-pack but currently there is no way to pass extra args to underlying cargo command.

💻 Basic example

I think it would make sense to be able to pass extra arbitrary args after -- as many other wrappers do, so that one could run:

$ wasm-pack build wasm-folder -- --frozen

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions