@@ -19,7 +19,7 @@ const compileMode = {
1919 SSR : { generate : 'ssr' , hydratable : true } ,
2020 DOM : { generate : 'dom' , hydratable : false } ,
2121 HYDRATABLE : { generate : 'dom' , hydratable : true } ,
22- UNIVERSAL : { generate : 'universal' , hydratable : false , moduleName : " solid-universal-module" as string } ,
22+ UNIVERSAL : { generate : 'universal' , hydratable : false , moduleName : ' solid-universal-module' as string } ,
2323} as const ;
2424
2525const findExtension = ( str : string ) : '.tsx' | '.jsx' => {
@@ -170,10 +170,7 @@ export const Repl: ReplProps = (props) => {
170170 const compile = ( ) => {
171171 let compileOpts = mode ( ) ;
172172 if ( compileOpts === compileMode . UNIVERSAL ) {
173- compileOpts = { generate : 'universal' ,
174- hydratable : false ,
175- moduleName : universalModuleName ( )
176- }
173+ compileOpts = { generate : 'universal' , hydratable : false , moduleName : universalModuleName ( ) } ;
177174 }
178175 applyCompilation (
179176 outputTab ( ) == 0
@@ -235,7 +232,7 @@ export const Repl: ReplProps = (props) => {
235232 return (
236233 < div
237234 ref = { grid }
238- class = "dark:bg-solid-darkbg flex min-h-0 h-full flex-1 flex-col bg-white font-sans text-black dark:text-white"
235+ class = "dark:bg-solid-darkbg flex h-full min-h-0 flex-1 flex-col bg-white font-sans text-black dark:text-white"
239236 classList = { {
240237 'md:flex-row' : ! props . isHorizontal ,
241238 'dark' : props . dark ,
0 commit comments