🔀.deno.ts files

You can provide deno specific implementation of some files.

Let's say you have a src/lib/hash.ts file in your project if you put a src/lib/hash.deno.ts file alongside it Denoify will copy src/lib/hash.deno.ts into deno_dist/lib/hash.ts and ignore src/lib/hash.ts.

Don't forget to ignore the src/**/*.deno.ts files in your tsconfig.json.

That's all you need to know. 😃

Last updated