我正在尝试使用core-js创建自定义构建。根据文档,我首先运行
npm i core-js && cd node_modules/core-js && npm i看起来挺好的。然后,也根据我尝试过的文档
C:\GIT\coreJS_Custom\node_modules\core-js>npm run grunt build:es6.array.from -- --library=on --path=custom uglify在这个主题上有很多变种。它似乎运行了很短时间,根本没有输出,而且我似乎找不到任何生成的文件。我做错了什么?
此外,上述命令在Windows 8.1 cmd终端上运行。
特别有趣的(也是令人沮丧的)是运行这个
C:\GIT\coreJS_Custom\node_modules\core-js>npm run grunt kjhgjhghkghh类似的运行时间很短,然后似乎成功了。
发布于 2015-08-14 10:03:19
我不确定我的根本问题是什么,但对我来说,单独运行授权任务,而不运行npm,确实起到了作用。
所以像这样的东西应该是最终的产品。
C:\GIT\coreJS_Custom\node_modules\core-js>grunt build:es6.array.from --library=on --path="es6-array-from-build-min2" uglifyhttps://stackoverflow.com/questions/32000821
复制相似问题