Use node in es6 syntax with babel transpiling

    0
    208
    views

    Install the fol­low­ing pack­ages : npm i –save babel-register npm i –save babel-preset-latest Cre­ate an entry point. For exam­ple, index.js It tran­spiles your app at run­time by hook­ing into all require calls, and lets…

    Read More : http://javascript.tutorialhorizon.com/2016/10/01/use-node-in-es6-syntax-with-babel-transpiling/

    LEAVE A REPLY

    Please enter your comment!
    Please enter your name here