elm-codegen
elm-codegen copied to clipboard
Expose declarations in `import` statements
Is it possible to expose some declarations in import statements?
Before:
import Html
import Html.Attributes
Html.div
[ Html.Attributes.class "hello" ]
[ Html.text "Hello world!" ]
After:
import Html exposing (div, text)
import Html.Attributes exposing (class)
div
[ class "hello" ]
[ text "Hello world!" ]