@gigadrive/network-config 4.1.0 → 4.3.0
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.
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/nextjs-cache-handler.d.mts +3 -1
- package/dist/nextjs-cache-handler.d.ts +4 -0
- package/dist/nextjs-cache-handler.js +70 -1
- package/dist/nextjs-cache-handler.js.map +1 -1
- package/dist/nextjs-cache-handler.mjs +66 -1
- package/dist/nextjs-cache-handler.mjs.map +1 -1
- package/dist/nextjs-image-loader.js +10 -1
- package/dist/nextjs-image-loader.js.map +1 -1
- package/dist/nextjs-image-loader.mjs +10 -1
- package/dist/nextjs-image-loader.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -395,6 +395,7 @@ var AVAILABLE_REGIONS = [...REGION_DEFINITIONS];
|
|
|
395
395
|
// src/detection/frameworks/nextjs.ts
|
|
396
396
|
var toPortablePath = (value) => value.replaceAll("\\", "/");
|
|
397
397
|
var MAXIMUM_ENTRY_PAGE_PATHS = 50;
|
|
398
|
+
var STANDALONE_SERVER_MEMORY_MB = 1024;
|
|
398
399
|
var resolveStandaloneServer = import_effect4.Effect.fn("nextjs.resolveStandaloneServer")(function* (projectFolder, distDir, repoRootToProject) {
|
|
399
400
|
const fs = yield* import_platform4.FileSystem.FileSystem;
|
|
400
401
|
const pathService = yield* import_platform4.Path.Path;
|
|
@@ -507,7 +508,7 @@ var createStandaloneV2Config = import_effect4.Effect.fn("nextjs.createStandalone
|
|
|
507
508
|
displayName: "next-server",
|
|
508
509
|
path: entrypoint,
|
|
509
510
|
runtime: defaults.runtime,
|
|
510
|
-
memory: defaults.memory,
|
|
511
|
+
memory: Math.max(defaults.memory, STANDALONE_SERVER_MEMORY_MB),
|
|
511
512
|
maxDuration: manifest.server.maxDuration ?? defaults.maxDuration,
|
|
512
513
|
streaming: true,
|
|
513
514
|
environmentVariables: {
|