Skip to content

Commit 7541cad

Browse files
authoredJan 20, 2025
feat: Nuxt Content v3 (#306)
1 parent 5d07851 commit 7541cad

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1289
-371
lines changed
 

‎.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,5 @@ coverage
5151
Network Trash Folder
5252
Temporary Items
5353
.apdisk
54+
55+
.data

‎build.config.ts

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import { defineBuildConfig } from 'unbuild'
2+
3+
export default defineBuildConfig({
4+
declaration: true,
5+
rollup: {
6+
emitCJS: true,
7+
},
8+
entries: [
9+
{ input: 'src/content', name: 'content' },
10+
],
11+
externals: [
12+
'h3',
13+
'std-env',
14+
'nitropack',
15+
'consola',
16+
'@nuxt/content',
17+
'zod',
18+
],
19+
})

0 commit comments

Comments
 (0)