use `cd` to go to the right directory and then run mkdir babel_project // initialize a package.json npm init // install babel-cli as a tool for running babel, as well as its presets and plugins npm install -save-dev babel-cli babel-preset-es2015 babel-plugin-transform-async-to-generatorĪfter installing the CLI and related presets and plugins, we need a place to define top-level babel settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |