Skip to content

Feature request: Multiple imports #5467

Description

@bushyice

I was thinking about if coffeescript had a way to make multiple imports, like:

import (
   "one"
   "two"
   "three"
   "four"
) as (
   @one
   two
   { three }
);

which could translate to:

import * as one from "one"
import two from "two"
import { three } from "three"
import "four"

You can also:

import (
  "one"
  "two"
)

which will be:

import "one"
import "two"

now i don't know if this is any better than the normal imports, but it removes the duplicate import statements atleast...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions