Browse Source

Add babel-polyfill for older IE support (ping #2762)

bubble
Kyle Shockey 7 years ago
parent
commit
f1be25b258
7 changed files with 14 additions and 9 deletions
  1. +8
    -8
      dist/swagger-ui.js
  2. +1
    -1
      dist/swagger-ui.js.map
  3. +1
    -0
      package.json
  4. +1
    -0
      webpack-dist-bundle.config.js
  5. +1
    -0
      webpack-dist-standalone.config.js
  6. +1
    -0
      webpack-dist.config.js
  7. +1
    -0
      webpack-hot-dev-server.config.js

+ 8
- 8
dist/swagger-ui.js
File diff suppressed because it is too large
View File


+ 1
- 1
dist/swagger-ui.js.map View File

@@ -1 +1 @@
{"version":3,"file":"swagger-ui.js","sources":["webpack:///swagger-ui.js"],"mappings":"AAAA;AAuqGA;AAi2HA;AA67FA;AA2mCA;AAq+BA;AAsiCA;AAm5BA","sourceRoot":""}
{"version":3,"file":"swagger-ui.js","sources":["webpack:///swagger-ui.js"],"mappings":"AAAA;AAsoGA;AAy4HA;AA67FA;AA2mCA;AAq+BA;AAsiCA;AAm5BA","sourceRoot":""}

+ 1
- 0
package.json View File

@@ -35,6 +35,7 @@
"just-test-in-node": "mocha --recursive --compilers js:babel-core/register test/core test/components" "just-test-in-node": "mocha --recursive --compilers js:babel-core/register test/core test/components"
}, },
"dependencies": { "dependencies": {
"babel-polyfill": "^6.23.0",
"brace": "0.7.0", "brace": "0.7.0",
"btoa": "^1.1.2", "btoa": "^1.1.2",
"debounce": "1.0.0", "debounce": "1.0.0",


+ 1
- 0
webpack-dist-bundle.config.js View File

@@ -13,6 +13,7 @@ module.exports = require('./make-webpack-config.js')({


entry: { entry: {
'swagger-ui-bundle': [ 'swagger-ui-bundle': [
'babel-polyfill',
'./src/core/index.js' './src/core/index.js'
] ]
}, },


+ 1
- 0
webpack-dist-standalone.config.js View File

@@ -13,6 +13,7 @@ module.exports = require('./make-webpack-config.js')({


entry: { entry: {
'swagger-ui-standalone-preset': [ 'swagger-ui-standalone-preset': [
'babel-polyfill',
'./src/standalone/index.js' './src/standalone/index.js'
] ]
}, },


+ 1
- 0
webpack-dist.config.js View File

@@ -15,6 +15,7 @@ module.exports = require('./make-webpack-config.js')({


entry: { entry: {
"swagger-ui": [ "swagger-ui": [
'babel-polyfill',
'./src/style/main.scss', './src/style/main.scss',
'./src/core/index.js' './src/core/index.js'
] ]


+ 1
- 0
webpack-hot-dev-server.config.js View File

@@ -10,6 +10,7 @@ module.exports = require("./make-webpack-config")({
devtool: "eval", devtool: "eval",
entry: { entry: {
'SwaggerUIBundle': [ 'SwaggerUIBundle': [
'babel-polyfill',
'./src/core/index.js' './src/core/index.js'
], ],
'SwaggerUIStandalonePreset': [ 'SwaggerUIStandalonePreset': [


Loading…
Cancel
Save