babel/packages
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
..
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-07-26 08:38:44 -04:00
2017-06-27 12:13:54 -05:00
2015-10-29 17:51:24 +00:00

Woah, what's going on here?

A monorepo, muhahahahahaha. See the monorepo design doc for reasoning.