magic-akari
910ece5e2a
Optimize transform-async-to-generator output ( #14122 )
...
* Optimize `transform-async-to-generator` output
- remove wrapper if the function length is zero.
- remove wrapper if the `assumptions.ignoreFunctionLength` is `true`.
* chore: update test case and code style
* chore: add test
2022-01-08 21:01:20 +01:00
Nicolò Ribaudo
d21e2217d5
Skip newlines around inline #__PURE__ annotations ( #11133 )
...
* Skip newlines around #__PURE__ annotations
* Update tests
2020-02-13 19:16:33 +01:00
Nicolò Ribaudo
8659e1a88c
Remove old expected.{js,json} files ( #7187 )
2018-01-09 13:10:30 -06:00
Raja Sekar
0f42accb87
Renamed files
2018-01-09 15:36:42 +01:00
Satyajit Sahoo
7ae6e1e5a0
Add /*#__PURE__*/ annotatiotion for babel-plugin-async-to-generator. Fixes #6572
2017-11-12 18:31:48 +05:30
Sebastian McKenzie
15969a0904
move all plugin tests out of babel-core and into their appropriate folders
2015-11-08 23:04:10 -08:00