瀏覽代碼

change globalObject to "this" (#6287)

Co-authored-by: Pontus Wallberg <pontus.wallberg@configura.com>
bubble
Pontus Wallberg 4 年之前
committed by GitHub
父節點
當前提交
d0ae61f8c9
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 3 個檔案被更改,包括 3 行新增0 行删除
  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 查看文件

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


+ 1
- 0
webpack/core.babel.js 查看文件

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

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


+ 1
- 0
webpack/standalone.babel.js 查看文件

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

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


Loading…
取消
儲存