enable @babel/plugin-transform-runtime in webpack config
This commit is contained in:
parent
2e6fff57d3
commit
ac37c395e4
|
@ -12,6 +12,9 @@ const standalone = {
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
options: {
|
options: {
|
||||||
babelrc: false,
|
babelrc: false,
|
||||||
|
plugins: [
|
||||||
|
"@babel/plugin-transform-runtime"
|
||||||
|
],
|
||||||
presets: [
|
presets: [
|
||||||
['@babel/env']
|
['@babel/env']
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue