fix(swagger-ui-react): avoid babel output in build fragments (#9194)
Problem was resolved by turning babel debug off. Refs #9192
This commit is contained in:
@@ -15,13 +15,23 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
"@babel/preset-react",
|
"@babel/preset-react",
|
||||||
],
|
],
|
||||||
|
"plugins": [
|
||||||
|
[
|
||||||
|
"transform-react-remove-prop-types",
|
||||||
|
{
|
||||||
|
"additionalLibraries": [
|
||||||
|
"react-immutable-proptypes"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
],
|
||||||
},
|
},
|
||||||
"esm": {
|
"esm": {
|
||||||
"presets": [
|
"presets": [
|
||||||
[
|
[
|
||||||
"@babel/env",
|
"@babel/env",
|
||||||
{
|
{
|
||||||
"debug": true,
|
"debug": false,
|
||||||
"modules": false,
|
"modules": false,
|
||||||
"ignoreBrowserslistConfig": false,
|
"ignoreBrowserslistConfig": false,
|
||||||
"useBuiltIns": false,
|
"useBuiltIns": false,
|
||||||
|
|||||||
Reference in New Issue
Block a user