Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit d46c017

Browse files
committed
⚠️ add missing polyfills
1 parent 5b4928f commit d46c017

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dash-renderer",
3-
"version": "0.14.2",
3+
"version": "0.14.3",
44
"description": "render dash components in react",
55
"main": "src/index.js",
66
"scripts": {
@@ -18,6 +18,7 @@
1818
"author": "chriddyp",
1919
"license": "MIT",
2020
"dependencies": {
21+
"@babel/polyfill": "^7.0.0",
2122
"babel-cli": "^6.26.0",
2223
"babel-core": "^6.26.3",
2324
"babel-loader": "^7.1.5",

webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = (env, argv) => {
2121
mode = 'production';
2222
}
2323
return {
24-
entry: {main: ['whatwg-fetch', './src/index.js']},
24+
entry: {main: ['@babel/polyfill', 'whatwg-fetch', './src/index.js']},
2525
output: {
2626
path: path.resolve(__dirname, dashLibraryName),
2727
filename:
@@ -60,4 +60,4 @@ module.exports = (env, argv) => {
6060
},
6161
devtool: mode === 'development' ? 'eval-source-map' : 'none',
6262
};
63-
};
63+
};

0 commit comments

Comments
 (0)