vitrify 0.12.1 → 0.12.2

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.
@@ -101,6 +101,7 @@ const fastifySsrPlugin = async (fastify, options, done) => {
101
101
  root: fileURLToPath(new URL('./dist/ssr/client', options.appDir)),
102
102
  wildcard: false,
103
103
  index: false,
104
+ preCompressed: true,
104
105
  prefix: options.baseUrl
105
106
  });
106
107
  fastify.get(`${options.baseUrl}*`, async (req, res) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitrify",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "license": "MIT",
5
5
  "author": "Stefan van Herwijnen",
6
6
  "description": "Vite as your Full Stack development tool",
@@ -156,6 +156,7 @@ const fastifySsrPlugin: FastifyPluginCallback<FastifySsrOptions> = async (
156
156
  root: fileURLToPath(new URL('./dist/ssr/client', options.appDir)),
157
157
  wildcard: false,
158
158
  index: false,
159
+ preCompressed: true,
159
160
  prefix: options.baseUrl
160
161
  })
161
162
 
@@ -74,7 +74,7 @@ export async function createApp(
74
74
  }
75
75
  }
76
76
  for (let key in provide) {
77
- if (provide[key].value) {
77
+ if (provide[key]?.value) {
78
78
  const refValue = ref(provide[key].value)
79
79
  app.provide(key, refValue)
80
80
  app.provide(