Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

babel-plugin-remove-template-literals-whitespace

oliverfindl4.6kMIT1.0.4

Babel plugin for whitespace removal from template literals.

babel, babel-plugin, template-literals, remove-whitespace, remove-template-literals-whitespace, babel-plugin-remove-template-literals-whitespace

readme

babel-plugin-remove-template-literals-whitespace

version downloads license paypal

Babel plugin for whitespace removal from template literals.

User-defined function for whitespace removal can be defined via options.fn.


Install

Using npm:

$ npm install babel-plugin-remove-template-literals-whitespace --save-dev

or using yarn:

$ yarn add babel-plugin-remove-template-literals-whitespace --dev

Options

  • options.fn:
    User-defined function for whitespace removal (or whatever user wants to remove) from template literals.

  • options.verbose:
    Enables verbose mode, that will log template literals before and after whitespace removal process.


License

MIT