Add babel-plugin-dedent to Djblets.
Review Request #8535 — Created Nov. 11, 2016 and submitted — Latest diff uploaded
building a big list of strings and then joining them. ES6 template strings are
a potential solution, but they introduce a lot of ugly whitespace if there's
any indentation in them.
This change adds babel-plugin-dedent to our build, which adds a preprocessing
step that removes leading indentation from template strings which are marked
dedenttag. This looks like an ordinary tag, but it's processed
during the compilation step instead of at runtime.
setup.py developand saw babel-plugin-dedent get installed correctly.
- Used the dedent tag in extension code.