Skip to content

Commit dbac547

Browse files
feat: allow tar format in edge functions manifest (#6603)
1 parent 2b42768 commit dbac547

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/edge-bundler/node/validation/manifest/__snapshots__/index.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ADDTIONAL PROPERTY must NOT have additional properties
1616
exports[`bundle > should throw on invalid format 1`] = `
1717
[ManifestValidationError: Validation of Edge Functions manifest failed
1818
ENUM must be equal to one of the allowed values
19-
(eszip2, js)
19+
(eszip2, js, tar)
2020
2121
3 | {
2222
4 | "asset": "f35baff44129a8f6be7db68590b2efd86ed4ba29000e2edbcaddc5d620d7d043.js",

packages/edge-bundler/node/validation/manifest/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const bundlesSchema = {
33
required: ['asset', 'format'],
44
properties: {
55
asset: { type: 'string' },
6-
format: { type: 'string', enum: ['eszip2', 'js'] },
6+
format: { type: 'string', enum: ['eszip2', 'js', 'tar'] },
77
},
88
additionalProperties: false,
99
}

0 commit comments

Comments
 (0)