deno_emit
deno_emit copied to clipboard
feat: Add CompilerOptions and minify options to bundle()
Partially fix #29 but is not fully complete.
It adds the ability to pass CompilerOptions object to Rust, so it is possible to toggle sourceMap/InlineSourceMap
BundleOptions {
...
compilerOptions: {
sourceMap: true,
inlineSourceMap: true,
...
},
..
}
I've also added minify
option in BundleOptions interface to change the transpile output format, however this only works for bundle since the code uses deno_graph::create_graph
from the deno_ast
crates and it defaults to false..
I set this as draft pr because It may not be clean/full enough to be pushed to main.. just thought it would be a great start
Are there any updates on this?
/cc @roziscoding
I'm gonna close this since I haven't updated my work on the PR for so long
Sad to hear that :(