build: change globalObject to "this" for es bundles (#6301)
This commit is contained in:
@@ -29,6 +29,7 @@ const result = configBuilder(
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
|
globalObject: "this",
|
||||||
library: "SwaggerUIBundle",
|
library: "SwaggerUIBundle",
|
||||||
libraryTarget: "commonjs2",
|
libraryTarget: "commonjs2",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ const result = configBuilder(
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
|
globalObject: "this",
|
||||||
library: "SwaggerUIBundle",
|
library: "SwaggerUIBundle",
|
||||||
libraryTarget: "commonjs2",
|
libraryTarget: "commonjs2",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user