Skip to content

Commit 04c8cb1

Browse files
committed
refactor: switch to the vite bindings
1 parent a0c0bb3 commit 04c8cb1

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

app.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { sentryVitePlugin } from '@sentry/vite-plugin'
22
import { defineConfig } from '@tanstack/start/config'
3-
import contentCollections from "@content-collections/vinxi";
3+
import contentCollections from '@content-collections/vite'
44
import tsConfigPaths from 'vite-tsconfig-paths'
55

66
export default defineConfig({
@@ -10,7 +10,6 @@ export default defineConfig({
1010
vite: {
1111
plugins: [
1212
tsConfigPaths(),
13-
contentCollections(),
1413
(() => {
1514
const replacements = [
1615
// replace `throw Error(p(418))` with `console.error(p(418))`
@@ -47,6 +46,7 @@ export default defineConfig({
4746
org: 'tanstack',
4847
project: 'tanstack-com',
4948
}),
49+
contentCollections(),
5050
],
5151
},
5252
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
},
7777
"devDependencies": {
7878
"@content-collections/core": "^0.8.2",
79-
"@content-collections/vinxi": "^0.1.0",
79+
"@content-collections/vite": "^0.2.4",
8080
"@shikijs/transformers": "^1.10.3",
8181
"@types/react": "^18.3.12",
8282
"@types/react-dom": "^18.3.1",

pnpm-lock.yaml

Lines changed: 16 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)