Skip to content

Commit d0ae61f

Browse files
pontuswallbergPontus Wallberg
andauthored
change globalObject to "this" (#6287)
Co-authored-by: Pontus Wallberg <[email protected]>
1 parent b579c71 commit d0ae61f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

webpack/bundle.babel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ const result = configBuilder(
2929
],
3030
},
3131
output: {
32+
globalObject: "this",
3233
library: "SwaggerUIBundle",
3334
},
3435
plugins: [

webpack/core.babel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const result = configBuilder(
2020
},
2121

2222
output: {
23+
globalObject: "this",
2324
library: "SwaggerUICore",
2425
},
2526
}

webpack/standalone.babel.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const result = configBuilder(
1616
},
1717

1818
output: {
19+
globalObject: "this",
1920
library: "SwaggerUIStandalonePreset",
2021
},
2122
}

0 commit comments

Comments
 (0)