(context)
| 19 | scripts: [ |
| 20 | "encoding/resources/encodings.js", |
| 21 | "encoding/resources/decoding-helpers.js", |
| 22 | ], |
| 23 | }), |
| 24 | postSetup(context) { |
| 25 | if (Array.isArray(context.encodings_table)) { |
| 26 | context.encodings_table = context.encodings_table |
| 27 | .map((s) => ({ |
| 28 | ...s, |
| 29 | encodings: s.encodings.filter((e) => SUPPORTED.has(e.name)), |
| 30 | })) |
| 31 | .filter((s) => s.encodings.length > 0); |
| 32 | } |
| 33 | }, |