sunnylost
sunnylost
I had the same problem on MacOS, but after I removed the "message" option, the problem was gone.
I got the same problem, after debug the code, found out when `jsdom` parse the raw html, it'd encountered an error "Cannot set property length of [object Object] which has...
@OrKoN Not yet.
You can set shared file as `external`, then build this shared files separately. It'll look like this: ```ts const shared = () => ({ name: 'shareLib', resolveId(id) { if(id.includes('mylib.shared')) {...
IIUC, you can use `external: ['vue']` and manually copy Vue's dist file.
I think [c1d25d6fd111e90b6e0760f127d589f20afa224e](https://github.com/rollup/rollup/commit/c1d25d6fd111e90b6e0760f127d589f20afa224e) fix this problem.
`DialogRoot` is a `Fragment`, and also `PopperRoot`, that's why this warning occurred.
After you use something like refine() or transform(), the return value will be a `ZodEffect`, not a `ZodType` anymore. While you can use pipe() to chain another schema, it can...
Under this condition `if (iss.code !== "invalid_type")`, `zod` won't display user's custom message.
Maybe you can try something like this: ```ts const arrayOfMyObj = z.array(myObjSchema).min(1).max(2); const newSchema = arrayOfMyObj.and( z.array( z.object({ foo: z.string(), }) ) ); ``` Transforms original schema into an Intersection...