wasm-pack-plugin icon indicating copy to clipboard operation
wasm-pack-plugin copied to clipboard

Do not default to 'index' on 'outName' option if not provided

Open velitasali opened this issue 3 years ago • 0 comments

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.

velitasali avatar Jun 07 '22 21:06 velitasali