npm package: fix --bin (#467)

The `--bin` CLI flag was not producing bytecode because the
`outputSelection` was not updated to explicitly requested it.

Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
xermicus authored and GitHub committed 2026-01-31 11:05:21 +01:00
1 parent b080c1d86c
commit f24e2d8477
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -4,6 +4,10 @@
This is a development pre-release. This is a development pre-release.
### Fixed
- npm package: The `--bin` CLI flag was not producing bytecode because the `outputSelection` was not updated to explicitly requested it.
## v1.0.0 ## v1.0.0
Supported `polkadot-sdk` rev: `unstable2507` Supported `polkadot-sdk` rev: `unstable2507`
+1 -1
View File
@@ -111,7 +111,7 @@ export async function compile(
optimizer, optimizer,
outputSelection: { outputSelection: {
'*': { '*': {
'*': ['abi'], '*': ['abi', 'evm.bytecode'],
}, },
}, },
}, },