floatdrop / deps-normalize

Dependencies normalization for gulp-bem
4 stars 8 forks source link

Incorrect working when #8

Closed user1736 closed 9 years ago

user1736 commented 9 years ago

...array one the first level, e.g.:

//noinspection BadExpressionStatementJS
([
    {
        tech: 'js',
        shouldDeps: [
            { block: 'foo.deps', tech: 'bemhtml' }
        ]
    },
    {
        mustDeps: [],
        shouldDeps: [
            { elems: ['foo', 'baz'] }
        ]
    }
]);

enb process it correctly.