Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/cmd/componentize.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export async function componentize(jsSource, opts) {
disableFeatures: opts.disable,
enableFeatures: opts.enable,
preview2Adapter: opts.preview2Adapter,
debugBuild: opts.debugStarlingmonkeyBuild,
});
component = result.component;
} catch (err) {
Expand Down
1 change: 1 addition & 0 deletions src/jco.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ program.command('componentize')
.addOption(new Option('-d, --disable <feature...>', 'disable WASI features').choices(['clocks', 'http', 'random', 'stdio', 'all']))
// .addOption(new Option('-e, --enable <feature...>', 'enable WASI features').choices(['http']))
.option('--preview2-adapter <adapter>', 'provide a custom preview2 adapter path')
.option('--debug-starlingmonkey-build', 'use a debug build of StarlingMonkey')
.requiredOption('-o, --out <out>', 'output component file')
.action(asyncAction(componentize));

Expand Down
Loading