Skip to content

Commit

Permalink
Revert "fix: remove outdated import path resolve mechanism (fix #2040)"
Browse files Browse the repository at this point in the history
This reverts commit 1c62ff2.
  • Loading branch information
brillout committed Jan 7, 2025
1 parent a602267 commit 8118aa8
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vike/RenderErrorPage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// eslint doesn't seem to support `package.json#exports`.
export * from './dist/shared/RenderErrorPage.mjs'
export { default } from './dist/shared/RenderErrorPage.mjs'
3 changes: 3 additions & 0 deletions vike/__internal.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// eslint doesn't seem to support `package.json#exports`.
export * from './dist/__internal/index.mjs'
export { default } from './dist/__internal/index.mjs'
3 changes: 3 additions & 0 deletions vike/__internal/setup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// eslint doesn't seem to support `package.json#exports`.
export * from '../dist/esm/node/runtime/page-files/setup.mjs'
export { default } from '../dist/esm/node/runtime/page-files/setup.mjs'
3 changes: 3 additions & 0 deletions vike/abort.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// eslint doesn't seem to support `package.json#exports`.
export * from './dist/shared/abort.mjs'
export { default } from './dist/shared/abort.mjs'
3 changes: 3 additions & 0 deletions vike/cli.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// eslint doesn't seem to support `package.json#exports`.
export * from './dist/esm/node/cli/index.mjs'
export { default } from './dist/esm/node/cli/index.mjs'
3 changes: 3 additions & 0 deletions vike/client.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// eslint doesn't seem to support `package.json#exports`.
export * from './dist/esm/client/server-routing-runtime'
export { default } from './dist/esm/client/server-routing-runtime'
3 changes: 3 additions & 0 deletions vike/client/router.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// eslint doesn't seem to support `package.json#exports`.
export * from '../dist/esm/client/client-routing-runtime'
export { default } from '../dist/esm/client/client-routing-runtime'
3 changes: 3 additions & 0 deletions vike/plugin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// eslint doesn't seem to support `package.json#exports`.
export * from './dist/esm/node/plugin/index.mjs'
export { default } from './dist/esm/node/plugin/index.mjs'
3 changes: 3 additions & 0 deletions vike/prerender.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// eslint doesn't seem to support `package.json#exports`.
export * from './dist/esm/node/prerender/index.mjs'
export { default } from './dist/esm/node/prerender/index.mjs'
3 changes: 3 additions & 0 deletions vike/routing.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// eslint doesn't seem to support `package.json#exports`.
export * from './dist/shared/route/routing.mjs'
export { default } from './dist/shared/route/routing.mjs'
3 changes: 3 additions & 0 deletions vike/server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// eslint doesn't seem to support `package.json#exports`.
export * from './dist/esm/node/runtime/index.mjs'
export { default } from './dist/esm/node/runtime/index.mjs'

0 comments on commit 8118aa8

Please sign in to comment.