flexdinesh/npm-module-boilerplate

Babel deprecated

Open

#3 创建于 2019年1月22日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)JavaScript (100 fork)github user discovery
help wanted

仓库指标

Star
 (391 star)
PR 合并指标
 (PR 指标待抓取)

描述

Running the build command, I get:

You have mistakenly installed the `babel` package, which is a no-op in Babel 6.
Babel's CLI commands have been moved from the `babel` package to the `babel-cli` package.

    npm uninstall babel
    npm install --save-dev babel-cli

Installing babel-cli and babel-preset-env solved the issue.

贡献者指南