Skip to content

[feat]: Beautify script contents #234

@vladshcherbin

Description

@vladshcherbin

Hey, 👋

Thanks for the plugin. It would be aweseme if it could beautify (fix indentation in my case) in script tags. Current output is:

<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Rollup App</title>
    <script>(function () {
  'use strict';

  function log(message) {
    console.log(message);
  }

  log('test :)');

}());</script>
  </head>
  <body></body>
</html>

As you can see, script contents has wrong indentation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions