lukeed / taskr

A fast, concurrency-focused task automation tool.
MIT License
2.53k stars 75 forks source link

Allow `import` statements via `esnext` #290

Closed lukeed closed 6 years ago

lukeed commented 6 years ago

Wrote & attached a quick RegExp manipulator: rewrite-imports

It should cover 90% of use cases right now. AFAIK, it's only incompatible with multi-line import statements; eg:

import {
  foo,
  bar
} from 'baz';

I can fix it, just ran out of time for today.