We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The code looked like this before beautification:
<script type="text/javascript"> import module from "module"; (async () => { let get = new module(); await get.d(); console.log(get.g()); })(); </script> <script type="module" crossorigin="use-credentials"> import module from "module"; (async () => { let get = new module(); await get.d(); console.log(get.g()); })(); </script>
The code should have looked like this after beautification:
The code actually looked like this after beautification:
OS:Windows 10
Example:
{ "indent_size": 4, "indent_char": "\t", "indent_level": 0, "indent_with_tabs": false, "preserve_newlines": true, "max_preserve_newlines": 10, "jslint_happy": false, "space_after_anon_function": false, "brace_style": "collapse,preserve-inline", "keep_array_indentation": false, "keep_function_indentation": false, "space_before_conditional": true, "break_chained_methods": false, "eval_code": false, "unescape_strings": false, "wrap_line_length": 120 }
The text was updated successfully, but these errors were encountered:
+1, Please support es module. <script type="module">
<script type="module">
Sorry, something went wrong.
This should be relatively easy to add. Thanks for drawing attention back to this, it slipped through the cracks.
Add support for es module
c006887
Fixes beautifier#1706
Successfully merging a pull request may close this issue.
Input
The code looked like this before beautification:
Expected Output
The code should have looked like this after beautification:
Actual Output
The code actually looked like this after beautification:
Environment
OS:Windows 10
Settings
Example:
The text was updated successfully, but these errors were encountered: