Skip to content

Commit

Permalink
OL 6.0.1 -> 6.1.0 and Babel core-js update
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakarFin committed Oct 31, 2019
1 parent 12cdaa7 commit ebf475f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ module.exports = {
[
'@babel/preset-env',
{
useBuiltIns: "usage",
corejs: 3,
targets: {
node: 'current'
}
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,18 @@
},
"dependencies": {
"@babel/core": "7.6.0",
"@babel/polyfill": "7.6.0",
"@babel/preset-env": "7.6.0",
"@babel/preset-react": "7.0.0",
"@babel/runtime-corejs3": "7.6.3",
"@storybook/react": "5.1.11",
"@types/jest": "24.0.18",
"antd": "3.24.2",
"babel-loader": "8.0.6",
"babel-plugin-styled-components": "1.10.6",
"babel-plugin-transform-remove-strict-mode": "0.0.2",
"cesium": "^1.58.0",
"cesium": "1.62.0",
"copy-webpack-plugin": "5.0.4",
"core-js": "3.3.5",
"css-loader": "3.2.0",
"dompurify": "1.0.11",
"enzyme": "3.10.0",
Expand All @@ -69,15 +70,15 @@
"jquery": "3.4.1",
"jsts": "2.0.8",
"less": "3.9.0",
"less-loader": "^5.0.0",
"less-loader": "5.0.0",
"loader-utils": "1.2.3",
"lodash": "4.17.15",
"merge": "1.2.1",
"mini-css-extract-plugin": "0.8.0",
"mobile-detect": "1.4.3",
"moment": "2.24.0",
"node-sass": "4.12.0",
"ol": "6.0.1",
"ol": "6.1.0",
"ol-mapbox-style": "5.0.2",
"olcs": "2.10.0",
"optimize-css-assets-webpack-plugin": "5.0.3",
Expand Down
1 change: 1 addition & 0 deletions webpack/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ const BABEL_LOADER_RULE = {
[
require.resolve('@babel/preset-env'), // Resolve path for use from external projects
{
corejs: 3,
useBuiltIns: 'entry',
targets: '> 0.25%, not dead, ie 11'
}
Expand Down
3 changes: 2 additions & 1 deletion webpack/polyfill.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
import '@babel/polyfill';
import 'core-js/stable';
import 'regenerator-runtime/runtime';

0 comments on commit ebf475f

Please sign in to comment.