[runtime-corejs3] Only polyfill instance methods when it might be needed (#9754)
This commit is contained in:
@@ -0,0 +1 @@
|
||||
require(`./locale/${lan}`);
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"plugins": [
|
||||
["transform-runtime", { "corejs": 3 }],
|
||||
"transform-template-literals"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
require("./locale/".concat(lan));
|
||||
@@ -0,0 +1,3 @@
|
||||
"".concat(b);
|
||||
[].concat(b);
|
||||
a.concat(b);
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"plugins": [["transform-runtime", { "corejs": 3 }]]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
var _concatInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/concat");
|
||||
|
||||
var _context;
|
||||
|
||||
"".concat(b);
|
||||
|
||||
_concatInstanceProperty(_context = []).call(_context, b);
|
||||
|
||||
_concatInstanceProperty(a).call(a, b);
|
||||
Reference in New Issue
Block a user