Skip to content

Commit

Permalink
Add Editor polyfill structure and Object.values polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
shockey committed Jun 28, 2017
1 parent 2402570 commit 630832e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"dependencies": {
"boron": "^0.2.3",
"classnames": "^2.1.3",
"core-js": "^2.4.1",
"immutable": "^3.x.x",
"js-yaml": "^3.5.5",
"json-beautify": "^1.0.1",
Expand Down
1 change: 1 addition & 0 deletions src/polyfills.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require("core-js/fn/object/values")
1 change: 1 addition & 0 deletions webpack-dist-bundle.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module.exports = require('./make-webpack-config.js')({

entry: {
"swagger-editor-bundle": [
"./src/polyfills.js",
'./src/index.js'
]
},
Expand Down
1 change: 1 addition & 0 deletions webpack-dist.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = require('./make-webpack-config.js')({

entry: {
"swagger-editor": [
"./src/polyfills.js",
'./src/index.js'
]
},
Expand Down
2 changes: 2 additions & 0 deletions webpack-hot-dev-server.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ module.exports = require("./make-webpack-config.js")({

entry: {
"swagger-editor-bundle": [
"./src/polyfills.js",
'./src/index.js'
],
'swagger-editor-standalone-preset': [
"./src/polyfills.js",
'./src/standalone/index.js'
],
'commons': ['react']
Expand Down
1 change: 1 addition & 0 deletions webpack-standalone.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = require("./make-webpack-config.js")({

entry: {
"swagger-editor-standalone-preset": [
"./src/polyfills.js",
"./src/standalone/index.js"
]
},
Expand Down

0 comments on commit 630832e

Please sign in to comment.