vike-solid 0.7.15 → 0.7.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,8 +11,9 @@ function overrideConfig() {
11
11
  })
12
12
  };
13
13
  }
14
+ // Return `PluginInterop` instead of `Plugin` to avoid type mismatch upon different Vite versions
14
15
  function vitePluginVikeSolid (options = {}) {
15
- return [solidPlugin(mergeConfig({
16
+ const plugins = [solidPlugin(mergeConfig({
16
17
  ssr: true,
17
18
  typescript: {
18
19
  onlyRemoveTypeImports: true
@@ -21,6 +22,7 @@ function vitePluginVikeSolid (options = {}) {
21
22
  hydratable: true
22
23
  }
23
24
  }, options ?? {})), overrideConfig()];
25
+ return plugins;
24
26
  }
25
27
 
26
28
  export { vitePluginVikeSolid as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vike-solid",
3
- "version": "0.7.15",
3
+ "version": "0.7.17",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "isbot-fast": "^1.2.0",