Galooshi / import-js

A tool to simplify importing JS modules
MIT License
526 stars 70 forks source link

groupImports ends up grouping namedExports separately. #561

Closed spacesuitdiver closed 7 months ago

spacesuitdiver commented 3 years ago

A configuration like:

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

Nets us:

import React from 'react';

import { bar } from 'foo';
mikabytes commented 7 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.