Webpack ie11 support: babel added (#42)

* updates for webpack ie11 support

* use babel
This commit is contained in:
Elena Rodionova 2018-12-19 11:13:01 +03:00 коммит произвёл Nikita Grachev
Родитель 9bfc4fa8e8
Коммит f4aa84b7a7
3 изменённых файлов: 15 добавлений и 10 удалений

22
package-lock.json сгенерированный
Просмотреть файл

@ -225,9 +225,7 @@
"integrity": "sha512-A95XEoCpb3TO+KZzJ4S/5uW5fNe26DjBGqf1o9ucyLyCmi1dXq/B3c8iaWTfBk3VvetUxl16e8tIrd5teOCfGw==",
"dev": true,
"requires": {
"@babel/helper-get-function-arity": "^7.0.0",
"@babel/template": "^7.1.0",
"@babel/types": "^7.0.0"
"@babel/helper-plugin-utils": "^7.0.0"
}
},
"@babel/helper-get-function-arity": {
@ -1030,7 +1028,6 @@
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.0.0.tgz",
"integrity": "sha512-dnrMRkyyr74CRelJwvgnnSUDh2ge2NCTyHVwpOdvRMHtJUyxLtMAfhBN3s64pY41zdw0kgiLPh6S20eb1NcX6Q==",
"dev": true,
"requires": {
"core-js": "^2.5.7",
"regenerator-runtime": "^0.11.1"
@ -3032,8 +3029,7 @@
"core-js": {
"version": "2.5.7",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz",
"integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw==",
"dev": true
"integrity": "sha512-RszJCAxg/PP6uzXVXL6BsxSXx/B05oJAQ2vkJRjyjrEcNVycaqOmNb5OTxZPE3xa5gwZduqza6L9JOCenh/Ecw=="
},
"core-util-is": {
"version": "1.0.2",
@ -9612,8 +9608,16 @@
"regenerator-runtime": {
"version": "0.11.1",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",
"integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==",
"dev": true
"integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg=="
},
"regenerator-transform": {
"version": "0.13.3",
"resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.13.3.tgz",
"integrity": "sha512-5ipTrZFSq5vU2YoGoww4uaRVAK4wyYC4TSICibbfEPOruUu8FFP7ErV0BjmbIOEpn3O/k9na9UEdYR/3m7N6uA==",
"dev": true,
"requires": {
"private": "^0.1.6"
}
},
"regenerator-transform": {
"version": "0.13.3",
@ -12438,4 +12442,4 @@
"dev": true
}
}
}
}

Просмотреть файл

@ -22,6 +22,7 @@
"url": "git+https://github.com/Microsoft/PowerBI-visuals-linedotchart.git"
},
"dependencies": {
"@babel/polyfill": "^7.0.0",
"d3": "^5.4.0",
"lodash": "4.17.11",
"powerbi-models": "1.0.12",

Просмотреть файл

@ -26,6 +26,7 @@
import "./../style/lineDotChart.less";
import "@babel/polyfill";
import * as d3 from "d3";
import * as _ from "lodash";
import powerbi from "powerbi-visuals-api";
@ -1216,4 +1217,3 @@ export class LineDotChart implements IVisual {
.remove();
}
}