Is it possible to import modules from all files in a directory, using a wildcard?
问题 With ES6, I can import several exports from a file like this: import {ThingA, ThingB, ThingC} from \'lib/things\'; However, I like the organization of having one module per file. I end up with imports like this: import ThingA from \'lib/things/ThingA\'; import ThingB from \'lib/things/ThingB\'; import ThingC from \'lib/things/ThingC\'; I would love to be able to do this: import {ThingA, ThingB, ThingC} from \'lib/things/*\'; or something similar, with the understood convention that each file