Skip newlines around inline #__PURE__ annotations (#11133)

* Skip newlines around #__PURE__ annotations

* Update tests
This commit is contained in:
Nicolò Ribaudo
2020-02-13 19:16:33 +01:00
committed by GitHub
parent 3c6a8ae200
commit d21e2217d5
274 changed files with 382 additions and 1072 deletions

View File

@@ -1,8 +1,6 @@
var Foo = require("Foo");
var _ref =
/*#__PURE__*/
<Foo />;
var _ref = /*#__PURE__*/<Foo />;
function render() {
return _ref;