@vercel/static-build 1.3.26 → 1.3.27
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 +4 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -239748,7 +239748,10 @@ function checkUnusedFunctions(frontendBuilder, usedFunctions, options) {
|
|
|
239748
239748
|
// Next.js can use functions only for `src/pages` or `pages`
|
|
239749
239749
|
if (frontendBuilder && (0, is_official_runtime_1.isOfficialRuntime)('next', frontendBuilder.use)) {
|
|
239750
239750
|
for (const fnKey of unusedFunctions.values()) {
|
|
239751
|
-
if (fnKey.startsWith('pages/') ||
|
|
239751
|
+
if (fnKey.startsWith('pages/') ||
|
|
239752
|
+
fnKey.startsWith('src/pages') ||
|
|
239753
|
+
fnKey.startsWith('app/') ||
|
|
239754
|
+
fnKey.startsWith('src/app/')) {
|
|
239752
239755
|
unusedFunctions.delete(fnKey);
|
|
239753
239756
|
}
|
|
239754
239757
|
else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/static-build",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.27",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index",
|
|
6
6
|
"homepage": "https://vercel.com/docs/build-step",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@vercel/gatsby-plugin-vercel-analytics": "1.0.10",
|
|
23
|
-
"@vercel/gatsby-plugin-vercel-builder": "1.3.
|
|
23
|
+
"@vercel/gatsby-plugin-vercel-builder": "1.3.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/aws-lambda": "8.10.64",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@vercel/build-utils": "6.7.2",
|
|
36
36
|
"@vercel/error-utils": "1.0.10",
|
|
37
37
|
"@vercel/frameworks": "1.3.5",
|
|
38
|
-
"@vercel/fs-detectors": "3.8.
|
|
38
|
+
"@vercel/fs-detectors": "3.8.13",
|
|
39
39
|
"@vercel/ncc": "0.24.0",
|
|
40
40
|
"@vercel/routing-utils": "2.2.1",
|
|
41
41
|
"@vercel/static-config": "2.0.17",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"tree-kill": "1.2.2",
|
|
51
51
|
"ts-morph": "12.0.0"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "b5db13c97035d0eae04a5e075ae74e488d1298d6"
|
|
54
54
|
}
|