githubEdit

πŸͺ„Special comments

// @denoify-ignore

You can place a // @denoify-ignore comment at the top of your file. This will make Denoify completely ignore this file, just like if it wasn't in your source.

Example, this filearrow-up-right is denoify-ignored, it's not in the deno_dist directoryarrow-up-right.

You have to use this if you have a custom replacer.

// @denoify-line-ignore

Denoify will ignore every lines following a // @denoify-line-ignore special comment.

It's especially usefull for ignoring import of polyfill.

Example of a file using this special commentarrow-up-right. And the transpiled resultarrow-up-right.

Last updated

Was this helpful?