Skip to content

Commit

Permalink
fix: rename +config.js to config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Nov 28, 2024
1 parent b75a2d0 commit fcac4b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/vike-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"./clientOnly": "./dist/helpers/clientOnly.js",
"./ClientOnly": "./dist/components/ClientOnly.js",
".": "./dist/index.js",
"./config": "./dist/+config.js",
"./config": "./dist/config.js",
"./__internal/integration/onRenderHtml": "./dist/integration/onRenderHtml.js",
"./__internal/integration/onRenderClient": "./dist/integration/onRenderClient.js",
"./__internal/components/Loading": "./dist/components/Loading.js"
Expand Down Expand Up @@ -83,7 +83,7 @@
"./dist/index.d.ts"
],
"config": [
"./dist/+config.d.ts"
"./dist/config.d.ts"
],
"__/internal/integration/onRenderHtml": [
"./dist/integration/onRenderHtml.d.ts"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/vike-react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
console.warn(
"[vike-react][warning][deprecation] Replace `import vikeReact from 'vike-react'` with `import vikeReact from 'vike-react/config'` (typically in your /pages/+config.js)",
)
export { default } from './+config.js'
export { default } from './config.js'

0 comments on commit fcac4b0

Please sign in to comment.