vite-plugin-solid
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -50,5 +50,6 @@ 'use strict'; | ||
if (options.ssr) { | ||
// This is a ugly hack that doesn't work really well.. | ||
if (globalThis._SOLID_SSR) { | ||
solidOptions = { | ||
generate: 'dom', | ||
generate: 'ssr', | ||
hydratable: true | ||
@@ -58,3 +59,3 @@ }; | ||
solidOptions = { | ||
generate: 'ssr', | ||
generate: 'dom', | ||
hydratable: true | ||
@@ -61,0 +62,0 @@ }; |
@@ -44,5 +44,6 @@ import solid from 'babel-preset-solid'; | ||
if (options.ssr) { | ||
// This is a ugly hack that doesn't work really well.. | ||
if (globalThis._SOLID_SSR) { | ||
solidOptions = { | ||
generate: 'dom', | ||
generate: 'ssr', | ||
hydratable: true | ||
@@ -52,3 +53,3 @@ }; | ||
solidOptions = { | ||
generate: 'ssr', | ||
generate: 'dom', | ||
hydratable: true | ||
@@ -55,0 +56,0 @@ }; |
{ | ||
"name": "vite-plugin-solid", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "solid-js integration plugin for vite 2", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
20759
190