@jk2908/solas 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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -315,9 +315,9 @@ export default defineConfig(({ mode }) => ({
315
315
  solas({
316
316
  url: mode === 'production' ? 'https://example.com' : 'http://localhost:8787',
317
317
  sitemap: {
318
- async routes(discovered) {
319
- const posts = await fetchPostSlugs()
320
- return [...discovered, ...posts.map(s => `/blog/${s}`)]
318
+ async routes(existing) {
319
+ const posts = await getPosts()
320
+ return [...existing, ...posts.map(p => `/blog/${p.slug}`)]
321
321
  },
322
322
  },
323
323
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jk2908/solas",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "A React Server Components meta-framework powered by Vite",
5
5
  "keywords": [
6
6
  "framework",