Skip to content

Feature request: Multiple imports #5467

@kevinJ045

Description

@kevinJ045

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...

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