Browse Source

change globalObject to "this" (#6287)

Co-authored-by: Pontus Wallberg <pontus.wallberg@configura.com>
bubble
Pontus Wallberg 4 years ago
committed by GitHub
parent
commit
d0ae61f8c9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions
  1. +1
    -0
      webpack/bundle.babel.js
  2. +1
    -0
      webpack/core.babel.js
  3. +1
    -0
      webpack/standalone.babel.js

+ 1
- 0
webpack/bundle.babel.js View File

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


+ 1
- 0
webpack/core.babel.js View File

@@ -20,6 +20,7 @@ const result = configBuilder(
}, },


output: { output: {
globalObject: "this",
library: "SwaggerUICore", library: "SwaggerUICore",
}, },
} }


+ 1
- 0
webpack/standalone.babel.js View File

@@ -16,6 +16,7 @@ const result = configBuilder(
}, },


output: { output: {
globalObject: "this",
library: "SwaggerUIStandalonePreset", library: "SwaggerUIStandalonePreset",
}, },
} }


Loading…
Cancel
Save