fix: SyntaxError Unexpected token export in importing babel runtime helper (#5401)

Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
[release]
This commit is contained in:
ryota yamamoto 2019-03-28 20:56:18 +09:00 committed by Xin Du (Clark)
parent 04ddcac4f9
commit 3b85dd97fc

View File

@ -106,7 +106,7 @@ module.exports = (context, options = {}) => {
regenerator: useBuiltIns !== 'usage',
corejs: useBuiltIns !== false ? false : corejs,
helpers: useBuiltIns === 'usage',
useESModules: true,
useESModules: buildTarget !== 'server',
absoluteRuntime
}])