Skip to content

Are ES6 imports supported in 4.0.0? #55

@nitzano

Description

@nitzano

In the 4.0.0's version info it says:

Given that nodejs has come a long way and async/await and other modern ES features have long been released, I decided to remove the babel project. Babel was causing more trouble than solving at this point and makes the maintenance of this package difficult.

However after reading the code it is still unclear how migrate-mongoose can now be used with ES6 files containing import and export statements without a transpiler. Can you please add an example or explain how can you now run migrations with ES6 files as stated in the current README.md file here:

https://github.com/balmasi/migrate-mongoose/blob/master/README.md#migrations1459287720919-my-migrationjs

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