This commit is contained in:
The Jared Wilcurt
2018-10-20 05:39:43 -04:00
committed by kazuya kawaguchi
parent 528c46507a
commit 6cdd56daf8

View File

@@ -127,8 +127,8 @@ module.exports = (context, options = {}) => {
presets.push([require('@babel/preset-env'), envOptions])
// additional <= stage-3 plugins
// Babel 7 is removing stgage presets altogether because people are using
// too much unstable proposals. Let's be conservative in the defaults here.
// Babel 7 is removing stage presets altogether because people are using
// too many unstable proposals. Let's be conservative in the defaults here.
plugins.push(
require('@babel/plugin-syntax-dynamic-import'),
[require('@babel/plugin-proposal-decorators'), { legacy: decoratorsLegacy !== false }],