Bump dependencies, use Babel 7 useBuiltIns usage to reduce size of chunks

This commit is contained in:
Lucas Verney 2018-08-28 17:49:54 +02:00
parent 948962987c
commit 61828e9ef2
4 changed files with 755 additions and 794 deletions

View File

@ -1,6 +1,27 @@
{
"presets": [
["env", { "modules": false, "useBuiltIns": true }],
"stage-2"
[
"@babel/preset-env",
{
"modules": false,
"useBuiltIns": "usage"
}
]
],
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-syntax-import-meta",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-json-strings",
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
"@babel/plugin-proposal-function-sent",
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-throw-expressions"
]
}

View File

@ -14,7 +14,7 @@
"list-vuetify-components": "ack '<v-' src | sed -e 's/^src\\/.*:[[:space:]]*<//' | grep '^v-' | sed -e 's/\\(v-[^[:space:]>]*\\).*/\\1/' | sort | uniq"
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"@babel/polyfill": "^7.0.0",
"file-saver": "^1.3.8",
"gps-to-gpx": "^1.4.0",
"howler": "^2.0.15",
@ -27,18 +27,26 @@
"vue-i18n": "^8.0.0",
"vue-router": "^3.0.1",
"vuelayers": "^0.10.13",
"vuetify": "^1.1.14",
"vuetify": "^1.2.0",
"vuex": "^3.0.1",
"whatwg-fetch": "^2.0.4"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-decorators": "^7.0.0",
"@babel/plugin-proposal-export-namespace-from": "^7.0.0",
"@babel/plugin-proposal-function-sent": "^7.0.0",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-numeric-separator": "^7.0.0",
"@babel/plugin-proposal-throw-expressions": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"app-manifest-webpack-plugin": "^1.1.3",
"autoprefixer": "^9.1.3",
"babel-core": "^6.22.1",
"babel-eslint": "^8.2.6",
"babel-loader": "^7.1.1",
"babel-preset-env": "^1.3.2",
"babel-preset-stage-2": "^6.22.0",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.0",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^1.0.0",
"eslint": "^5.4.0",
@ -64,13 +72,13 @@
"svg2png": "^4.1.1",
"uglifyjs-webpack-plugin": "^1.3.0",
"url-loader": "^1.1.1",
"vue-loader": "^15.4.0",
"vue-loader": "^15.4.1",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.5.2",
"webpack": "^4.17.1",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.5",
"webpack-dev-server": "^3.1.6",
"webpack-merge": "^4.1.0"
},
"engines": {

View File

@ -1,4 +1,3 @@
import 'babel-polyfill';
import 'whatwg-fetch';
if (!Number.isNaN) {

1497
yarn.lock

File diff suppressed because it is too large Load Diff