@netlify/plugin-nextjs 5.13.4 → 5.13.5
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.
|
@@ -89,7 +89,7 @@ var copyNextServerCode = async (ctx) => {
|
|
|
89
89
|
`server/*`,
|
|
90
90
|
`server/chunks/**/*`,
|
|
91
91
|
`server/edge-chunks/**/*`,
|
|
92
|
-
`server/edge
|
|
92
|
+
`server/edge/**/*`,
|
|
93
93
|
`server/+(app|pages)/**/*.js`
|
|
94
94
|
],
|
|
95
95
|
{
|
|
@@ -189,13 +189,13 @@ async function patchNextModules(ctx, nextVersion, serverHandlerRequireResolve) {
|
|
|
189
189
|
var copyNextDependencies = async (ctx) => {
|
|
190
190
|
await tracer.withActiveSpan("copyNextDependencies", async () => {
|
|
191
191
|
const entries = await readdir(ctx.standaloneDir);
|
|
192
|
+
const filter = ctx.constants.IS_LOCAL ? void 0 : nodeModulesFilter;
|
|
192
193
|
const promises = entries.map(async (entry) => {
|
|
193
194
|
if (entry === ctx.nextDistDir) {
|
|
194
195
|
return;
|
|
195
196
|
}
|
|
196
197
|
const src = join(ctx.standaloneDir, entry);
|
|
197
198
|
const dest = join(ctx.serverHandlerDir, entry);
|
|
198
|
-
const filter = ctx.constants.IS_LOCAL ? void 0 : nodeModulesFilter;
|
|
199
199
|
await cp(src, dest, {
|
|
200
200
|
recursive: true,
|
|
201
201
|
verbatimSymlinks: true,
|
|
@@ -210,7 +210,7 @@ var copyNextDependencies = async (ctx) => {
|
|
|
210
210
|
const rootDestDir = join(ctx.serverHandlerRootDir, "node_modules");
|
|
211
211
|
if (existsSync(rootSrcDir) && ctx.standaloneRootDir !== ctx.standaloneDir) {
|
|
212
212
|
promises.push(
|
|
213
|
-
cp(rootSrcDir, rootDestDir, { recursive: true, verbatimSymlinks: true }).then(
|
|
213
|
+
cp(rootSrcDir, rootDestDir, { recursive: true, verbatimSymlinks: true, filter }).then(
|
|
214
214
|
() => recreateNodeModuleSymlinks(resolve("node_modules"), rootDestDir)
|
|
215
215
|
)
|
|
216
216
|
);
|
|
@@ -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.13.
|
|
89
|
+
var version = "5.13.5";
|
|
90
90
|
|
|
91
91
|
// src/run/handlers/tags-handler.cts
|
|
92
92
|
var import_storage = require("../storage/storage.cjs");
|