Closed askucher closed 6 years ago
As written,
require! {
\react
\grommet/components/ : { Form, ... }
}
already means something else, and changing it is off the table.
You might be interested in @bartosz-m's compiler plugin infrastructure; his plugin for ES6 modules supports wildcards like this: import 'modules/**'
. I don't know how well it works; I haven't taken it for a spin yet. But that's the place that new import-related features should be incubated, I think.
Is it possible to optimize it
to