【发布时间】:2015-07-21 10:39:52
【问题描述】:
我想将此插件https://github.com/babel-plugins/babel-plugin-object-assign 与https://github.com/babel/gulp-babel 一起使用。知道我应该如何设置吗?
【问题讨论】:
-
为什么用它而不是
runtime?
标签: javascript gulp babeljs
我想将此插件https://github.com/babel-plugins/babel-plugin-object-assign 与https://github.com/babel/gulp-babel 一起使用。知道我应该如何设置吗?
【问题讨论】:
runtime?
标签: javascript gulp babeljs
与文档中显示的非常相似:
babel({plugins: ['object-assign']})
【讨论】: