fix: Fix ESLint errors.

pull/168/head
jaywcjlove 5 years ago
parent c04cf0c209
commit 77018eee92

@ -20,12 +20,13 @@ const inputOptions = {
exclude: 'node_modules/**', // 只编译我们的源代码 exclude: 'node_modules/**', // 只编译我们的源代码
presets: [[ presets: [[
'@babel/preset-env', { '@babel/preset-env', {
/** /**
* Do not transpile typeof helper with itself * Do not transpile typeof helper with itself
* https://github.com/babel/babel/pull/10788/files * https://github.com/babel/babel/pull/10788/files
*/ */
'exclude': ['@babel/plugin-transform-typeof-symbol'] exclude: ['@babel/plugin-transform-typeof-symbol'],
}]], },
]],
}), }),
], ],
}; };

Loading…
Cancel
Save