fix(swagger-ui-react): fix build scripts and allow releasing (#9191)

Refs https://github.com/swagger-api/swagger-ui/releases/tag/v5.6.0
This commit is contained in:
Vladimír Gorej
2023-09-05 15:17:06 +02:00
committed by GitHub
parent 5a3151d557
commit 70b01404a7
2 changed files with 17 additions and 1 deletions

View File

@@ -1,5 +1,21 @@
module.exports = {
"env": {
"commonjs": {
"presets": [
[
"@babel/preset-env",
{
"debug": false,
"modules": "commonjs",
"loose": true,
"targets": "maintained node versions",
"forceAllTransforms": false,
"ignoreBrowserslistConfig": true,
}
],
"@babel/preset-react",
],
},
"esm": {
"presets": [
[