Logan Smyth
5eda451fb8
Remove the unused '.addImports' API from 'babel-core'.
2017-09-26 11:28:57 -07:00
chocolateboy
605adc922d
allow PluginPass.file.addImport to create empty import statements ( #6022 )
...
* allow PluginPass.file.addImport to create empty import statements; fixes #6021
omitting addImport's second argument creates an import statement with an
empty `specifiers` array i.e. an empty import statement:
plugin:
Program (path, { file }) {
file.addImport('foo-bar/register')
}
output:
import "foo-bar/register";
2017-07-28 12:37:00 -04:00
Logan Smyth
4f72232ca9
Move option parsing to babel-cli.
2017-03-13 11:06:46 -07:00
Amjad Masad
12fac9cadf
Inference recursion bug
2015-12-15 19:56:27 -08:00
Amjad Masad
036e90e9cc
Fix bug with evaluating an expression in it's own binding
2015-12-06 07:56:17 -08:00
Amjad Masad
35e575cf93
Print a block when encountering consequents that are if statements
2015-11-17 19:07:20 -08:00
Amjad Masad
507557c48e
Add failing test
2015-11-17 18:45:35 -08:00
Amjad Masad
352a604fe2
Make sure the test fails
2015-11-11 12:07:23 -08:00
Sebastian McKenzie
9616e4b06c
remove use of template literals in plugin regression exec test for unsupported environments
2015-11-08 05:33:13 -08:00
Amjad Masad
8e2aae7e05
Introduce new tests for plugins
2015-11-06 15:14:20 -08:00