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:
@@ -2,5 +2,5 @@
|
||||
"assumptions": {
|
||||
"constantReexports": true
|
||||
},
|
||||
"plugins": ["external-helpers", "transform-modules-commonjs"]
|
||||
"plugins": ["transform-modules-commonjs"]
|
||||
}
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
"assumptions": {
|
||||
"enumerableModuleMeta": true
|
||||
},
|
||||
"plugins": ["external-helpers", "transform-modules-commonjs"]
|
||||
"plugins": ["transform-modules-commonjs"]
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"plugins": ["external-helpers", "transform-modules-commonjs"],
|
||||
"plugins": ["transform-modules-commonjs"],
|
||||
"auxiliaryCommentBefore": "before",
|
||||
"auxiliaryCommentAfter": "after"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-commonjs", { "strictMode": false }]
|
||||
]
|
||||
"plugins": [["transform-modules-commonjs", { "strictMode": false }]]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"externalHelpers": false,
|
||||
"plugins": [
|
||||
"transform-runtime",
|
||||
"transform-template-literals",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"externalHelpers": false,
|
||||
"plugins": [
|
||||
["transform-modules-commonjs", { "loose": true }],
|
||||
"transform-runtime",
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
{
|
||||
"externalHelpers": true,
|
||||
"sourceType": "module",
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-commonjs", { "loose": true }]
|
||||
]
|
||||
"plugins": [["transform-modules-commonjs", { "loose": true }]]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-commonjs", { "loose": true }],
|
||||
"syntax-module-string-names"
|
||||
]
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"transform-modules-commonjs",
|
||||
"syntax-module-string-names"
|
||||
]
|
||||
"plugins": ["transform-modules-commonjs", "syntax-module-string-names"]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"externalHelpers": false,
|
||||
"plugins": [
|
||||
"transform-runtime",
|
||||
"transform-template-literals",
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"externalHelpers": false,
|
||||
"plugins": ["transform-modules-commonjs", "transform-runtime", "./plugin"]
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"externalHelpers": true,
|
||||
"sourceType": "module",
|
||||
"plugins": ["external-helpers", "transform-modules-commonjs"]
|
||||
"plugins": ["transform-modules-commonjs"]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-commonjs", { "lazy": true }]
|
||||
]
|
||||
"plugins": [["transform-modules-commonjs", { "lazy": true }]]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-commonjs", { "lazy": true }]
|
||||
]
|
||||
"plugins": [["transform-modules-commonjs", { "lazy": true }]]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-commonjs", { "lazy": ["white"] }]
|
||||
]
|
||||
"plugins": [["transform-modules-commonjs", { "lazy": ["white"] }]]
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"externalHelpers": false,
|
||||
"plugins": ["transform-modules-commonjs"]
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{
|
||||
"plugins": ["external-helpers", "transform-modules-commonjs"]
|
||||
"externalHelpers": true,
|
||||
"plugins": ["transform-modules-commonjs"]
|
||||
}
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"transform-modules-commonjs",
|
||||
"syntax-class-properties"
|
||||
]
|
||||
"plugins": ["transform-modules-commonjs", "syntax-class-properties"]
|
||||
}
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"transform-modules-commonjs",
|
||||
"syntax-class-properties"
|
||||
]
|
||||
"plugins": ["transform-modules-commonjs", "syntax-class-properties"]
|
||||
}
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"transform-modules-commonjs",
|
||||
"syntax-class-properties"
|
||||
]
|
||||
"plugins": ["transform-modules-commonjs", "syntax-class-properties"]
|
||||
}
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
"transform-modules-commonjs",
|
||||
"syntax-class-properties"
|
||||
]
|
||||
"plugins": ["transform-modules-commonjs", "syntax-class-properties"]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
["transform-modules-commonjs", { "noInterop": true }]
|
||||
]
|
||||
"plugins": [["transform-modules-commonjs", { "noInterop": true }]]
|
||||
}
|
||||
|
||||
3
packages/babel-plugin-transform-modules-commonjs/test/fixtures/options.json
vendored
Normal file
3
packages/babel-plugin-transform-modules-commonjs/test/fixtures/options.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"externalHelpers": false
|
||||
}
|
||||
@@ -1,6 +1,4 @@
|
||||
{
|
||||
"plugins": [
|
||||
["transform-modules-commonjs", { "lazy": true }],
|
||||
"external-helpers"
|
||||
]
|
||||
"externalHelpers": true,
|
||||
"plugins": [["transform-modules-commonjs", { "lazy": true }]]
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"plugins": ["external-helpers", "transform-modules-commonjs"]
|
||||
"plugins": ["transform-modules-commonjs"]
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"plugins": [
|
||||
"external-helpers",
|
||||
[
|
||||
"transform-modules-commonjs",
|
||||
{ "strict": true, "mjsStrictNamespace": false }
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"plugins": ["external-helpers", ["transform-modules-commonjs"]]
|
||||
"plugins": [["transform-modules-commonjs"]]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user