astro-blog-kit 0.3.4 → 0.3.5

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/integration.ts +1 -1
  2. package/package.json +1 -1
package/integration.ts CHANGED
@@ -84,7 +84,7 @@ function createThemePlugin(theme: BlogTheme): Plugin {
84
84
  load(id) {
85
85
  if (id === RESOLVED_VIRTUAL_MODULE_ID) {
86
86
  // Retornamos CSS puro — Vite lo procesa como módulo CSS
87
- return css;
87
+ return `export default ${JSON.stringify(css)};`;
88
88
  }
89
89
  },
90
90
  // Fuerza el tipo del módulo como CSS para que Vite lo trate correctamente
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-blog-kit",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "A ready-to-use blog system for Astro with WordPress headless support, optional i18n, multiple layouts, and a comment system.",
5
5
  "type": "module",
6
6
  "license": "MIT",