Skip to content

Commit

Permalink
Add 'universal' to compiler output
Browse files Browse the repository at this point in the history
This PR adds the `'universal'` option to the compiler options so people can configure the solid plugin to generate universal output for using a custom renderer.
  • Loading branch information
vjoao committed Jul 7, 2022
1 parent dce3536 commit 75d66bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,11 @@ export interface Options {
* Can be:
* - "dom" is standard output
* - "ssr" is for server side rendering of strings.
* - "universal" is for using custom renderers from solid-js/universal
*
* @default "dom"
*/
generate?: 'ssr' | 'dom';
generate?: 'ssr' | 'dom' | 'universal';

/**
* Indicate whether the output should contain hydratable markers.
Expand Down

0 comments on commit 75d66bb

Please sign in to comment.