@netlify/plugin-nextjs 5.14.6 → 5.14.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -534,7 +534,7 @@ var copyHandlerDependenciesForNodeMiddleware = async (ctx) => {
534
534
  const parts = [shim];
535
535
  const entry = "server/middleware.js";
536
536
  const nft = `${entry}.nft.json`;
537
- const nftFilesPath = join(process.cwd(), ctx.distDir, nft);
537
+ const nftFilesPath = join(ctx.publishDir, nft);
538
538
  const nftManifest = JSON.parse(await readFile(nftFilesPath, "utf8"));
539
539
  const files = nftManifest.files.map((file) => join("server", file));
540
540
  files.push(entry);
@@ -86,7 +86,7 @@ var pipeline = (0, import_util.promisify)(import_stream.pipeline);
86
86
 
87
87
  // package.json
88
88
  var name = "@netlify/plugin-nextjs";
89
- var version = "5.14.6";
89
+ var version = "5.14.7";
90
90
 
91
91
  // src/run/handlers/tags-handler.cts
92
92
  var import_storage = require("../storage/storage.cjs");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/plugin-nextjs",
3
- "version": "5.14.6",
3
+ "version": "5.14.7",
4
4
  "description": "Run Next.js seamlessly on Netlify",
5
5
  "main": "./dist/index.js",
6
6
  "type": "module",