wasm-pack-plugin
wasm-pack-plugin copied to clipboard
Do not default to 'index' on 'outName' option if not provided
Hi,
wasm-pack build uses the crate name if out-name is not provided, so defaulting to index in the plugin causes an inconsistent behavior. I think it would make sense to not pass it to wasm-pack if it is not defined in the plugin options.