I encountered an issue when trying to use Elysia Validation in conjunction with esbuild-plugin-autoload.
This problem arises specifically during the bun build process.
Additionally, every request using Elysia Validation returns a 500 Internal server error.
This only happens with versions later than Elysia 1.1.6
2 | var FC1=Object.create;var{getPrototypeOf:BC1,defineProperty:NV,getOwnPropertyNames:DC1}=Object;var YC1=Object.prototype.hasOwnProperty;var n1=(A,F,B)=>{B=A!=null?FC1(BC1(A)):{};const D=F||!A||!A.__esModule?NV(B,"default",{value:A,enumerable:!0}):B;for(let Y of DC1(A))if(!YC1.call(D,Y))NV(D,Y,{get:()=>A[Y],enumerable:!0});return D};var L=(A,F)=>()=>(F||A((F={exports:{}}).exports,F),F.exports);var p2=(A,F)=>{for(var B in F)NV(A,B,{get:F[B],enumerable:!0,configurable:!0,set:(D)=>F[B]=()=>D})};var $=(A,F)=>()=>(A&&(F=A(A=0)),F);function XQ(A){return A4(A)&&Symbol.asyncIterator in A}function UQ(A){return A4(A)&&Symbol.iterator in A}function K2(A){return A4(A)&&(Object.getPrototypeOf(A)===Object.prototype||Object.getPrototypeOf(A)===null)}function wQ(A){return A instanceof Promise}function J9(A){return A instanceof Date&&Number.isFinite(A.getTime())}function p9(A){return ArrayBuffer.isView(A)}function gD(A){return A instanceof globalThis.Uint8Array}function G0(A,F){return F in A}function A4(A){return A!==null&&type | ... truncated
TypeError: undefined is not an object (evaluating 'F.from[i]')
I encountered an issue when trying to use Elysia Validation in conjunction with esbuild-plugin-autoload. This problem arises specifically during the bun build process. Additionally, every request using Elysia Validation returns a 500 Internal server error. This only happens with versions later than Elysia 1.1.6