Setting runtimeHelpers leads to error with 5.0.0
lazka opened this issue · 2 comments
lazka commented
Using rollup-plugin-babel@next
, the following config:
babel({
exclude: 'node_modules/**',
runtimeHelpers: true,
babelrc: false,
presets: [['@babel/env', {
modules: false,
targets: {
"edge": "17"
}
}]],
plugins: [
[
'@babel/plugin-transform-runtime',
{
corejs: 3,
useESModules: true
}
]
]
})
results in
(plugin babel) ReferenceError: Unknown option: .runtimeHelpers. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.
The previous version worked.
Andarist commented
Please use babelHelpers: 'runtime'
instead - you should get a warning in a console about it.
lazka commented
Ah, thanks, it was way up in the logs before the error. Feel free to close this :)