@giancarlosgza/blog-layer 0.1.0 → 0.1.1
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/nuxt.config.ts +10 -6
- package/package.json +1 -1
package/nuxt.config.ts
CHANGED
|
@@ -4,28 +4,32 @@ import blogModule from './blog-module'
|
|
|
4
4
|
|
|
5
5
|
const layerDir = dirname(fileURLToPath(import.meta.url))
|
|
6
6
|
|
|
7
|
-
/** Blog
|
|
7
|
+
/** Blog Layer */
|
|
8
8
|
export default defineNuxtConfig({
|
|
9
9
|
compatibilityDate: '2026-01-01',
|
|
10
10
|
|
|
11
11
|
alias: {
|
|
12
12
|
'#blog': layerDir
|
|
13
13
|
},
|
|
14
|
-
|
|
15
|
-
// Pages come from blog-module, no pages/ dir
|
|
16
14
|
pages: true,
|
|
17
|
-
|
|
18
15
|
blog: {
|
|
19
16
|
basePath: '/'
|
|
20
17
|
},
|
|
21
18
|
|
|
22
19
|
nitro: {
|
|
23
|
-
// fs cache breaks on Windows with ?query keys
|
|
24
20
|
devStorage: {
|
|
25
21
|
cache: { driver: 'memory' }
|
|
26
22
|
}
|
|
27
23
|
},
|
|
28
24
|
|
|
25
|
+
vite: {
|
|
26
|
+
css: {
|
|
27
|
+
preprocessorOptions: {
|
|
28
|
+
scss: { sourceMapIncludeSources: true }
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
|
|
29
33
|
runtimeConfig: {
|
|
30
34
|
siteUrl: '',
|
|
31
35
|
|
|
@@ -53,7 +57,7 @@ export default defineNuxtConfig({
|
|
|
53
57
|
sources: ['/api/blog/_sitemap-urls']
|
|
54
58
|
},
|
|
55
59
|
|
|
56
|
-
// Color mode
|
|
60
|
+
// Color mode
|
|
57
61
|
colorMode: {
|
|
58
62
|
preference: 'system',
|
|
59
63
|
classSuffix: '-mode'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@giancarlosgza/blog-layer",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Nuxt layer that adds a Firestore-backed blog to a site under a configurable base path: pages, cached API, RSS, sitemap and SEO",
|
|
5
5
|
"author": "Giancarlos Garza <giancarlosgza@gmail.com> (https://github.com/giancarlosgza)",
|
|
6
6
|
"type": "module",
|