编译Create React App并将其发布到Verdaccio

时间:2018-08-09 09:28:13

标签: npm create-react-app

我能够设置Verdaccio(私有npm注册表)并可以将软件包发布到它。但是,发布的我的create react应用程序代码无需转换为ES5。

此外,我可以通过此NPM编译我的create react应用 compile": "NODE_ENV=production babel src --out-dir lib --copy-files"。我的问题是如何转换我的create react应用并将其发布到Verdaccio?

0 个答案:

没有答案