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