diff --git a/vike/package.json b/vike/package.json index 1ac1249d86d..634d8360ddf 100644 --- a/vike/package.json +++ b/vike/package.json @@ -30,20 +30,20 @@ ".": { "worker": "./dist/esm/node/runtime/index-deprecated.js", "edge-light": "./dist/esm/node/runtime/index-deprecated.js", + "import": "./dist/esm/node/runtime/index-deprecated.js", + "require": "./dist/cjs/node/runtime/index-deprecated.js", "node": "./dist/esm/node/runtime/index-deprecated.js", "browser": "./dist/esm/client/node.js", - "types": "./dist/esm/node/runtime/index-deprecated.d.ts", - "import": "./dist/esm/node/runtime/index-deprecated.js", - "require": "./dist/cjs/node/runtime/index-deprecated.js" + "types": "./dist/esm/node/runtime/index-deprecated.d.ts" }, "./server": { "worker": "./dist/esm/node/runtime/index.js", "edge-light": "./dist/esm/node/runtime/index.js", + "import": "./dist/esm/node/runtime/index.js", + "require": "./dist/cjs/node/runtime/index.js", "node": "./dist/esm/node/runtime/index.js", "browser": "./dist/esm/client/node.js", - "types": "./dist/esm/node/runtime/index.d.ts", - "import": "./dist/esm/node/runtime/index.js", - "require": "./dist/cjs/node/runtime/index.js" + "types": "./dist/esm/node/runtime/index.d.ts" }, "./client": { "types": "./dist/esm/client/server-routing-runtime/index.d.ts" @@ -54,76 +54,76 @@ "./client/router": { "worker": "./dist/esm/node/client/router.js", "edge-light": "./dist/esm/node/client/router.js", + "import": "./dist/esm/client/client-routing-runtime/index.js", + "require": "./dist/cjs/node/client/router.js", "node": "./dist/esm/node/client/router.js", "browser": "./dist/esm/client/client-routing-runtime/index.js", - "types": "./dist/esm/client/client-routing-runtime/index.d.ts", - "import": "./dist/esm/client/client-routing-runtime/index.js", - "require": "./dist/cjs/node/client/router.js" + "types": "./dist/esm/client/client-routing-runtime/index.d.ts" }, "./routing": { "worker": "./dist/esm/shared/route/routing.js", "edge-light": "./dist/esm/shared/route/routing.js", + "import": "./dist/esm/shared/route/routing.js", + "require": "./dist/cjs/shared/route/routing.js", "node": "./dist/esm/shared/route/routing.js", "browser": "./dist/esm/shared/route/routing.js", - "types": "./dist/esm/shared/route/routing.d.ts", - "import": "./dist/esm/shared/route/routing.js", - "require": "./dist/cjs/shared/route/routing.js" + "types": "./dist/esm/shared/route/routing.d.ts" }, "./cli": { - "node": "./dist/esm/node/cli/index.js", - "types": "./dist/esm/node/cli/index.d.ts", "import": "./dist/esm/node/cli/index.js", - "require": "./dist/cjs/node/cli/index.js" + "require": "./dist/cjs/node/cli/index.js", + "node": "./dist/esm/node/cli/index.js", + "types": "./dist/esm/node/cli/index.d.ts" }, "./prerender": { - "node": "./dist/esm/node/prerender/index.js", - "types": "./dist/esm/node/prerender/index.d.ts", "import": "./dist/esm/node/prerender/index.js", - "require": "./dist/cjs/node/prerender/index.js" + "require": "./dist/cjs/node/prerender/index.js", + "node": "./dist/esm/node/prerender/index.js", + "types": "./dist/esm/node/prerender/index.d.ts" }, "./plugin": { - "node": "./dist/esm/node/plugin/index.js", - "types": "./dist/esm/node/plugin/index.d.ts", "import": "./dist/esm/node/plugin/index.js", - "require": "./dist/cjs/node/plugin/index.js" + "require": "./dist/cjs/node/plugin/index.js", + "node": "./dist/esm/node/plugin/index.js", + "types": "./dist/esm/node/plugin/index.d.ts" }, "./RenderErrorPage": { "worker": "./dist/esm/shared/RenderErrorPage.js", "edge-light": "./dist/esm/shared/RenderErrorPage.js", + "import": "./dist/esm/shared/RenderErrorPage.js", + "require": "./dist/cjs/shared/RenderErrorPage.js", "node": "./dist/esm/shared/RenderErrorPage.js", "browser": "./dist/esm/shared/RenderErrorPage.js", - "types": "./dist/esm/shared/RenderErrorPage.d.ts", - "import": "./dist/esm/shared/RenderErrorPage.js", - "require": "./dist/cjs/shared/RenderErrorPage.js" + "types": "./dist/esm/shared/RenderErrorPage.d.ts" }, "./abort": { "worker": "./dist/esm/shared/abort.js", "edge-light": "./dist/esm/shared/abort.js", + "import": "./dist/esm/shared/abort.js", + "require": "./dist/cjs/shared/abort.js", "node": "./dist/esm/shared/abort.js", "browser": "./dist/esm/shared/abort.js", - "types": "./dist/esm/shared/abort.d.ts", - "import": "./dist/esm/shared/abort.js", - "require": "./dist/cjs/shared/abort.js" + "types": "./dist/esm/shared/abort.d.ts" }, "./__internal": { - "node": "./dist/esm/__internal/index.js", - "types": "./dist/esm/__internal/index.d.ts", "import": "./dist/esm/__internal/index.js", - "require": "./dist/cjs/__internal/index.js" + "require": "./dist/cjs/__internal/index.js", + "node": "./dist/esm/__internal/index.js", + "types": "./dist/esm/__internal/index.d.ts" }, "./__internal/setup": { - "node": "./dist/esm/node/runtime/page-files/setup.js", - "types": "./dist/esm/node/runtime/page-files/setup.d.ts", "import": "./dist/esm/node/runtime/page-files/setup.js", - "require": "./dist/cjs/node/runtime/page-files/setup.js" + "require": "./dist/cjs/node/runtime/page-files/setup.js", + "node": "./dist/esm/node/runtime/page-files/setup.js", + "types": "./dist/esm/node/runtime/page-files/setup.d.ts" }, "./__internal/loadImportBuild": { "worker": "./dist/esm/node/runtime/globalContext/loadImportBuild.js", "edge-light": "./dist/esm/node/runtime/globalContext/loadImportBuild.js", - "node": "./dist/esm/node/runtime/globalContext/loadImportBuild.js", - "types": "./dist/esm/node/runtime/globalContext/loadImportBuild.d.ts", "import": "./dist/esm/node/runtime/globalContext/loadImportBuild.js", - "require": "./dist/cjs/node/runtime/globalContext/loadImportBuild.js" + "require": "./dist/cjs/node/runtime/globalContext/loadImportBuild.js", + "node": "./dist/esm/node/runtime/globalContext/loadImportBuild.js", + "types": "./dist/esm/node/runtime/globalContext/loadImportBuild.d.ts" } }, "peerDependencies": {