Skip to content

Commit

Permalink
Add liquid, mitosis, stencil and template to CLI (BuilderIO#983)
Browse files Browse the repository at this point in the history
  • Loading branch information
elfpie authored Jan 17, 2023
1 parent a9b1344 commit bb35214
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/cli/src/build/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,20 @@ import {
componentToAngular,
componentToCustomElement,
componentToHtml,
componentToLiquid,
componentToMarko,
componentToMitosis,
componentToPreact,
componentToLit,
componentToQwik,
componentToReact,
componentToRsc,
componentToReactNative,
componentToSolid,
componentToStencil,
componentToSvelte,
componentToSwift,
componentToTemplate,
componentToVue2,
componentToVue3,
MitosisComponent,
Expand Down Expand Up @@ -282,6 +286,14 @@ const getGeneratorForTarget = ({ target }: { target: Target }): TargetContext['g
return componentToRsc;
case 'lit':
return componentToLit;
case 'mitosis':
return componentToMitosis;
case 'stencil':
return componentToStencil;
case 'template':
return componentToTemplate;
case 'liquid':
return componentToLiquid;
default:
throw new Error('CLI does not yet support target: ' + target);
}
Expand Down

0 comments on commit bb35214

Please sign in to comment.