Drop support for IE

This commit is contained in:
Pig Fang 2018-09-05 23:27:02 +08:00
parent f9db70676c
commit 825e376777
6 changed files with 3 additions and 30 deletions

View File

@ -8,6 +8,7 @@
],
"plugins": [
"@babel/syntax-dynamic-import",
"@babel/plugin-transform-async-to-generator",
["@babel/plugin-transform-runtime", {
"helpers": true,
"regenerator": true

View File

@ -1,3 +1,2 @@
> 1%
last 2 versions
not dead
not ie 11

View File

@ -27,7 +27,6 @@
"admin-lte": "^2.4.2",
"bootstrap": "^3.3.7",
"chart.js": "^2.7.1",
"es6-promise": "^4.2.4",
"icheck": "^1.0.2",
"jquery": "^3.3.1",
"skinview3d": "^1.1.0",
@ -36,8 +35,7 @@
"vue": "^2.5.16",
"vue-good-table": "^2.12.2",
"vue-upload-component": "^2.8.11",
"vuejs-paginate": "^2.0.1",
"whatwg-fetch": "^2.0.4"
"vuejs-paginate": "^2.0.1"
},
"devDependencies": {
"@babel/core": "^7.0.0",

View File

@ -1,16 +0,0 @@
/* eslint-disable no-var */
import 'core-js/fn/array/includes';
import 'core-js/fn/array/find';
import 'core-js/fn/object/assign';
import 'core-js/fn/object/values';
import 'core-js/fn/string/starts-with';
import 'es6-promise/auto';
import 'whatwg-fetch';
Number.parseInt = parseInt;
document.body.classList.replace = function (oldToken, newToken) {
var list = document.body.classList;
list.remove(oldToken);
list.add(newToken);
};

View File

@ -12,7 +12,6 @@ const config = {
mode: devMode ? 'development' : 'production',
entry: {
index: './resources/assets/src/index.js',
polyfill: './resources/assets/src/js/polyfill.js',
style: [
'bootstrap/dist/css/bootstrap.min.css',
'admin-lte/dist/css/AdminLTE.min.css',

View File

@ -3224,10 +3224,6 @@ es6-iterator@~2.0.3:
es5-ext "^0.10.35"
es6-symbol "^3.1.1"
es6-promise@^4.2.4:
version "4.2.4"
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.4.tgz#dc4221c2b16518760bd8c39a52d8f356fc00ed29"
es6-symbol@^3.1.1, es6-symbol@~3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77"
@ -9019,10 +9015,6 @@ whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.3:
dependencies:
iconv-lite "0.4.19"
whatwg-fetch@^2.0.4:
version "2.0.4"
resolved "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz#dde6a5df315f9d39991aa17621853d720b85566f"
whatwg-mimetype@^2.0.0, whatwg-mimetype@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.1.0.tgz#f0f21d76cbba72362eb609dbed2a30cd17fcc7d4"