remove inline plugin from Babel's .babelrc (#6348)

This commit is contained in:
Joe Lim 2017-09-29 21:15:35 -07:00 committed by Henry Zhu
parent 0e432f0e0d
commit 7c8a6cb461

View File

@ -6,24 +6,6 @@ let envOpts = {
module.exports = {
comments: false,
plugins: [
// temp until next release
function() {
return {
visitor: {
"Function": function(path) {
const node = path.node;
for (let i = 0; i < node.params.length; i++) {
const param = node.params[i];
if (param.type === "AssignmentPattern") {
param.left.optional = false;
}
}
}
}
};
}
],
presets: [
["env", envOpts],
"stage-0",