🪄Special comments
// @denoify-ignore
// @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 file is denoify-ignored
, it's not in the deno_dist
directory.
You have to use this if you have a custom replacer.
// @denoify-line-ignore
// @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 comment. And the transpiled result.
Last updated