Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2077

Compile and use in ts project

$
0
0

Hi, I was wondering if its possible to build a library that can be used in a pure js project and if so what steps are needed?

What I would want is to build stuff in rescript and then use it in my pure js project without rescript as a dependency. An example is building api services, so skipping stuff like zod.

I have some 3rd party dependencies inside in bs-deps and when I generate js files the generated file imports from File.gen for example.

Do I need something specific to get it to work?

Thanks in advance.


Viewing all articles
Browse latest Browse all 2077

Trending Articles