diegohaz/singel

Support babel 7

Open

#23 aperta il 15 lug 2018

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (20 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (412 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor