Enable external-helpers by default in tests (#12911)
Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"plugins": ["external-helpers", "transform-modules-systemjs"]
|
||||
"plugins": ["transform-modules-systemjs"]
|
||||
}
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"transform-modules-systemjs",
|
||||
"syntax-module-string-names"
|
||||
]
|
||||
"plugins": ["transform-modules-systemjs", "syntax-module-string-names"]
|
||||
}
|
||||
|
||||
@@ -3,8 +3,6 @@ System.register([], function (_export, _context) {
|
||||
|
||||
var Light, Vec3;
|
||||
|
||||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
|
||||
_export("Light", void 0);
|
||||
|
||||
return {
|
||||
@@ -12,7 +10,7 @@ System.register([], function (_export, _context) {
|
||||
execute: function () {
|
||||
_export("Light", Light = class Light {
|
||||
constructor() {
|
||||
_defineProperty(this, "_color", Vec3);
|
||||
babelHelpers.defineProperty(this, "_color", Vec3);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"transform-modules-systemjs"
|
||||
]
|
||||
"plugins": ["transform-modules-systemjs"]
|
||||
}
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-systemjs", {
|
||||
"moduleIds": true,
|
||||
"moduleId": "my custom module name"
|
||||
}]
|
||||
[
|
||||
"transform-modules-systemjs",
|
||||
{
|
||||
"moduleIds": true,
|
||||
"moduleId": "my custom module name"
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"plugins": ["external-helpers", "transform-modules-systemjs"]
|
||||
"plugins": ["transform-modules-systemjs"]
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"plugins": ["external-helpers", "transform-modules-systemjs", "syntax-top-level-await"]
|
||||
"plugins": ["transform-modules-systemjs", "syntax-top-level-await"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user