Schlagwort: babel

  • babeljs cli

    Automatic Compile with Source Maps

    ./node_modules/.bin/babel . -w -s --ignore *.js,node_modules/*,.git/* -d .

    . = input
    -w = watch
    -s = source-map
    –ignore = ignore *.js files, node_modules/*, .git/* folders
    -d . = output

    ./node_modules/.bin/babel src -w -s --ignore *.js -d src

    src = input
    -w = watch
    -s = source-map
    –ignore *.js = ignore *.js files
    -d src = output