README
babel-runtime-corejs3
Usage
- Use babel-runtime@6.x with core-js@3.x
- Use both babel-runtime@6.x and @babel/runtime@7.x
Get Started
npm install babel-runtime-corejs3
or
yarn add babel-runtime-corejs3
Config your webpack
resolve: {
alias: {
'babel-runtime': 'babel-runtime-corejs3',
},
},
or rollup, using @rollup/plugin-alias
plugins: [
alias({
entries: [
{ find: 'babel-runtime', replacement: 'babel-runtime-corejs3' },
],
}),
],