@vercel/fs-detectors 5.5.0 → 5.5.2
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/detect-builders.js +10 -0
- package/package.json +2 -2
package/dist/detect-builders.js
CHANGED
|
@@ -236,6 +236,16 @@ async function detectBuilders(files, pkg, options = {}) {
|
|
|
236
236
|
builders.push(...apiBuilders);
|
|
237
237
|
}
|
|
238
238
|
if (frontendBuilder) {
|
|
239
|
+
if (frontendBuilder?.use === "@vercel/express") {
|
|
240
|
+
builders.push({
|
|
241
|
+
src: "public/**/*",
|
|
242
|
+
use: "@vercel/static",
|
|
243
|
+
config: {
|
|
244
|
+
zeroConfig: true,
|
|
245
|
+
outputDirectory: "public"
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
}
|
|
239
249
|
builders.push(frontendBuilder);
|
|
240
250
|
if (hasNextApiFiles && apiBuilders.some((b) => (0, import_is_official_runtime.isOfficialRuntime)("node", b.use))) {
|
|
241
251
|
warnings.push({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/fs-detectors",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.2",
|
|
4
4
|
"description": "Vercel filesystem detectors",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@vercel/error-utils": "2.0.3",
|
|
18
|
-
"@vercel/frameworks": "3.8.
|
|
18
|
+
"@vercel/frameworks": "3.8.4",
|
|
19
19
|
"@vercel/routing-utils": "5.1.1",
|
|
20
20
|
"glob": "8.0.3",
|
|
21
21
|
"js-yaml": "4.1.0",
|