DEV Community

Discussion on: I made 1,000x faster TypeScript Validator Library

Collapse
 
dagnelies profile image
Arnaud Dagnelies

Hmmm.... My first attempt failed. no transform has been configured. I guess the generation of schemas during the compilation step is missing. Btw, I'm using wrangler which is a toolchain of its own, so I have no idea how to incorporate the step.

Collapse
 
samchon profile image
Jeongho Nam

The wrangler is something like cra or vite? If you can configure webpack, then you can use this typescript-json following README article. If configuring custom webpack is too hard, I recommend to use vite instead because its configuration is the easiest one.

If you wanna detailed help or guide, you also can write an issue on the repo. Then I or another developer may help you.

Thread Thread
 
amenadiel profile image
Felipe Figueroa

Wrangler should delegate to whatever is executed by package.json's build script . Usually it's either esbuild or webpack.