jonbretman / amd-to-as6

Converts AMD modules into ES6 modules
165 stars 37 forks source link

Can't add object destruction to the import statement #29

Closed madiyetov closed 5 years ago

madiyetov commented 6 years ago

Say I have next module:

define(['aaa'], function({aa, bb}) {
     return aa+bb;
});

Would be nice to get:

import {aa, bb} from 'aaa'

Now I get:

import from 'aaa'
TJKoury commented 6 years ago

Why is this pull not accepted yet? Looking for the same thing....!

madiyetov commented 6 years ago

I think @jonbretman doesn't work on this project now. So you can use my fork until this merge.

jonbretman commented 5 years ago

My apologies for not keeping up with this project's issues. I have just merged some PR's and updated some packages and pushed 0.2.0 to npm.