@vercel/static-build 2.9.12 → 2.9.13
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 +3 -4
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -23050,7 +23050,7 @@ var require_resolve = __commonJS({
|
|
|
23050
23050
|
} = options;
|
|
23051
23051
|
const type = config.type || "web";
|
|
23052
23052
|
const rawEntrypoint = config.entrypoint;
|
|
23053
|
-
const moduleAttrParsed = typeof rawEntrypoint === "string"
|
|
23053
|
+
const moduleAttrParsed = typeof rawEntrypoint === "string" ? parsePyModuleAttrEntrypoint(rawEntrypoint) : null;
|
|
23054
23054
|
const routingResult = resolveServiceRoutingConfig(name, config);
|
|
23055
23055
|
if (routingResult.error) {
|
|
23056
23056
|
throw new Error(routingResult.error.message);
|
|
@@ -23199,10 +23199,9 @@ var require_resolve = __commonJS({
|
|
|
23199
23199
|
continue;
|
|
23200
23200
|
}
|
|
23201
23201
|
let resolvedEntrypoint;
|
|
23202
|
-
const serviceType = serviceConfig.type || "web";
|
|
23203
23202
|
if (typeof serviceConfig.entrypoint === "string") {
|
|
23204
|
-
const moduleAttr =
|
|
23205
|
-
const entrypointToResolve = moduleAttr
|
|
23203
|
+
const moduleAttr = parsePyModuleAttrEntrypoint(serviceConfig.entrypoint);
|
|
23204
|
+
const entrypointToResolve = moduleAttr?.filePath ?? serviceConfig.entrypoint;
|
|
23206
23205
|
const resolvedPath = await resolveEntrypointPath({
|
|
23207
23206
|
fs: fs5,
|
|
23208
23207
|
serviceName: name,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.13",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"ts-morph": "12.0.0",
|
|
17
|
-
"@vercel/static-config": "3.2.0",
|
|
18
17
|
"@vercel/gatsby-plugin-vercel-analytics": "1.0.11",
|
|
19
|
-
"@vercel/gatsby-plugin-vercel-builder": "2.1.
|
|
18
|
+
"@vercel/gatsby-plugin-vercel-builder": "2.1.13",
|
|
19
|
+
"@vercel/static-config": "3.2.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/aws-lambda": "8.10.64",
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"rc9": "1.2.0",
|
|
39
39
|
"semver": "7.5.2",
|
|
40
40
|
"tree-kill": "1.2.2",
|
|
41
|
-
"@vercel/
|
|
41
|
+
"@vercel/build-utils": "13.15.0",
|
|
42
|
+
"@vercel/error-utils": "2.0.3",
|
|
42
43
|
"@vercel/frameworks": "3.24.0",
|
|
43
44
|
"@vercel/routing-utils": "6.1.1",
|
|
44
|
-
"@vercel/
|
|
45
|
-
"@vercel/build-utils": "13.14.2"
|
|
45
|
+
"@vercel/fs-detectors": "5.16.0"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "node ../../utils/build-builder.mjs",
|