diff options
-rwxr-xr-x | packages/bun-framework-next/bun.lockb | bin | 10917 -> 0 bytes | |||
-rw-r--r-- | packages/bun-framework-next/package.json | 2 | ||||
-rw-r--r-- | packages/bun-framework-next/renderDocument.tsx | 4 | ||||
-rw-r--r-- | packages/bun-framework-next/server.development.tsx | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/packages/bun-framework-next/bun.lockb b/packages/bun-framework-next/bun.lockb Binary files differdeleted file mode 100755 index d6178a6eb..000000000 --- a/packages/bun-framework-next/bun.lockb +++ /dev/null diff --git a/packages/bun-framework-next/package.json b/packages/bun-framework-next/package.json index 4b399ac61..35d8b99d1 100644 --- a/packages/bun-framework-next/package.json +++ b/packages/bun-framework-next/package.json @@ -1,6 +1,6 @@ { "name": "bun-framework-next", - "version": "12.1.3", + "version": "12.1.5", "main": "empty.js", "module": "empty.js", "description": "bun compatibility layer for Next.js v12.x.x", diff --git a/packages/bun-framework-next/renderDocument.tsx b/packages/bun-framework-next/renderDocument.tsx index c48040b27..7768e5190 100644 --- a/packages/bun-framework-next/renderDocument.tsx +++ b/packages/bun-framework-next/renderDocument.tsx @@ -23,9 +23,9 @@ import * as NextDocument from "next/document"; import * as ReactDOMServer from "react-dom/server.browser"; import * as React from "react"; import * as ReactIs from "react-is"; -import { packageVersion } from "macro:./packageVersion.ts"; +import packageJson from "next/package.json"; -const nextVersion = packageVersion("next"); +const nextVersion = packageJson.version; var HtmlContext; // HtmlContext is in different places depending on the next version diff --git a/packages/bun-framework-next/server.development.tsx b/packages/bun-framework-next/server.development.tsx index 42f57009d..1ecce069c 100644 --- a/packages/bun-framework-next/server.development.tsx +++ b/packages/bun-framework-next/server.development.tsx @@ -1,8 +1,8 @@ import "./server-polyfills"; import { render } from "./renderDocument"; -import { packageVersion } from "macro:./packageVersion.ts"; +import packagejson from "next/package.json"; -const version = packageVersion("next"); +const version = packagejson.version; if ( (!version.startsWith("11.1") && |