vitrify 0.2.2 → 0.2.3
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.
- package/dist/index.js +3 -0
- package/package.json +1 -1
- package/src/node/index.ts +2 -0
package/dist/index.js
CHANGED
|
@@ -308,6 +308,9 @@ export const baseConfig = async ({ ssr, appDir, publicDir, command = 'build', mo
|
|
|
308
308
|
if (id.includes('fastify-ssr-plugin')) {
|
|
309
309
|
return 'fastify-ssr-plugin';
|
|
310
310
|
}
|
|
311
|
+
else if (id.includes('prerender')) {
|
|
312
|
+
return 'prerender';
|
|
313
|
+
}
|
|
311
314
|
else if (id.includes('node_modules')) {
|
|
312
315
|
return 'vendor';
|
|
313
316
|
}
|
package/package.json
CHANGED
package/src/node/index.ts
CHANGED
|
@@ -364,6 +364,8 @@ export const baseConfig = async ({
|
|
|
364
364
|
manualChunks: (id) => {
|
|
365
365
|
if (id.includes('fastify-ssr-plugin')) {
|
|
366
366
|
return 'fastify-ssr-plugin'
|
|
367
|
+
} else if (id.includes('prerender')) {
|
|
368
|
+
return 'prerender'
|
|
367
369
|
} else if (id.includes('node_modules')) {
|
|
368
370
|
return 'vendor'
|
|
369
371
|
}
|