diegohaz/singel

Support babel 7

Open

#23 geöffnet am 15. Juli 2018

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (412 Stars) (20 Forks)batch import
enhancementhelp wanted

Beschreibung

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