Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add CompilerOptions and minify options to bundle() #63

Closed

Conversation

hironichu
Copy link

@hironichu hironichu commented Jul 7, 2022

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

@CLAassistant
Copy link

CLAassistant commented Jul 11, 2022

CLA assistant check
All committers have signed the CLA.

@KnorpelSenf
Copy link
Contributor

Are there any updates on this?

/cc @roziscoding

@hironichu
Copy link
Author

I'm gonna close this since I haven't updated my work on the PR for so long

@hironichu hironichu closed this Jan 11, 2023
@KnorpelSenf
Copy link
Contributor

Sad to hear that :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement compiler options
3 participants