change globalObject to "this" (#6287)

Co-authored-by: Pontus Wallberg <pontus.wallberg@configura.com>
This commit is contained in:
Pontus Wallberg
2020-08-14 19:47:32 +02:00
committed by GitHub
parent b579c713d9
commit d0ae61f8c9
3 changed files with 3 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ const result = configBuilder(
],
},
output: {
globalObject: "this",
library: "SwaggerUIBundle",
},
plugins: [

View File

@@ -20,6 +20,7 @@ const result = configBuilder(
},
output: {
globalObject: "this",
library: "SwaggerUICore",
},
}

View File

@@ -16,6 +16,7 @@ const result = configBuilder(
},
output: {
globalObject: "this",
library: "SwaggerUIStandalonePreset",
},
}