Skip to content

Commit 75d66bb

Browse files
authored
Add 'universal' to compiler output
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.
1 parent dce3536 commit 75d66bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,11 @@ export interface Options {
197197
* Can be:
198198
* - "dom" is standard output
199199
* - "ssr" is for server side rendering of strings.
200+
* - "universal" is for using custom renderers from solid-js/universal
200201
*
201202
* @default "dom"
202203
*/
203-
generate?: 'ssr' | 'dom';
204+
generate?: 'ssr' | 'dom' | 'universal';
204205

205206
/**
206207
* Indicate whether the output should contain hydratable markers.

0 commit comments

Comments
 (0)