From 75d66bb484fc3c4f9f282affb3d5258400b53619 Mon Sep 17 00:00:00 2001 From: Victor Nascimento Date: Thu, 7 Jul 2022 22:19:16 +0200 Subject: [PATCH] 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. --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 24a5a33..bbbf7a6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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.