babel / babel-brunch

Brunch plugin for Babel
ISC License
68 stars 38 forks source link

Fix for brunch/brunch#1549. #45

Closed denysdovhan closed 7 years ago

denysdovhan commented 7 years ago

Find plugins with names that do not match common convention.

For example: babel-root-import


Related:

shvaikalesh commented 7 years ago

LGTM, very clean & appreciate the comment. However, Travis is failing.

denysdovhan commented 7 years ago

@shvaikalesh the cause of failed build is not correlated with this PR. The problem in single-var notation:

Expected:

var a = c.a;
var b = c.b;

But got actual:

"use strict";

var c = {};
var a = c.a,
    b = c.b;

I can open another PR with corresponding fix, if you don't mind.

shvaikalesh commented 7 years ago

@denysdovhan Thanks for digging it up.

PR with corresponding fix

Please do.

denysdovhan commented 7 years ago

Tests are fixed in #46. Build is greeen.