浏览代码

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",
},
}


正在加载...
取消
保存