diegohaz/singel

Support babel 7

Open

#23 opened on Jul 15, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)JavaScript (412 stars) (20 forks)batch import
enhancementhelp wanted

Description

Possibly checking the babel version in the project (cwd) and using babel-register or @babel/register depending on the version.

Relevant parts of the code:

https://github.com/diegohaz/singel/blob/86d9fe65e0df14fab8bab144dfa0a88dae7bb371/src/cli.js#L29

https://github.com/diegohaz/singel/blob/86d9fe65e0df14fab8bab144dfa0a88dae7bb371/package.json#L46

Contributor guide