Galooshi / import-js

A tool to simplify importing JS modules
MIT License
525 stars 55 forks source link

groupImports ends up grouping namedExports separately. #561

Closed spacesuitdiver closed 10 months ago

spacesuitdiver commented 4 years ago

A configuration like:

    namedExports: {
        'foo': ['bar'],
    },

Nets us:

import React from 'react';

import { bar } from 'foo';
mikabytes commented 10 months ago

I believe this is a behavior as per design. I'll close this issue in any case as it is stale. If anyone feels this is something we should look more into, please reopen the issue. Thanks.