olovaplugin 1.0.12 → 1.0.14

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.
@@ -96,6 +96,11 @@ function configPlugin() {
96
96
  optimizeDeps: {
97
97
  exclude: ["olova", "olova/Router", "olova/Link", "olova/client", "olova/server", "olova/useParams", "olova/usePathname", "olova/useSearchParams"]
98
98
  },
99
+ // Also exclude from SSR bundling
100
+ ssr: {
101
+ external: ["olova", "olova/Router", "olova/Link", "olova/client", "olova/server", "olova/useParams", "olova/usePathname", "olova/useSearchParams"],
102
+ noExternal: ["virtual:olova-routes"]
103
+ },
99
104
  build: {
100
105
  outDir: "./.olova/dist",
101
106
  sourcemap: false,
@@ -36,6 +36,11 @@ function configPlugin() {
36
36
  optimizeDeps: {
37
37
  exclude: ["olova", "olova/Router", "olova/Link", "olova/client", "olova/server", "olova/useParams", "olova/usePathname", "olova/useSearchParams"]
38
38
  },
39
+ // Also exclude from SSR bundling
40
+ ssr: {
41
+ external: ["olova", "olova/Router", "olova/Link", "olova/client", "olova/server", "olova/useParams", "olova/usePathname", "olova/useSearchParams"],
42
+ noExternal: ["virtual:olova-routes"]
43
+ },
39
44
  build: {
40
45
  outDir: "./.olova/dist",
41
46
  sourcemap: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "olovaplugin",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "Vite plugins for Olova framework",
5
5
  "type": "module",
6
6
  "main": "dist/olova-plugins.cjs",