Only build a bundle for modern browsers

This commit is contained in:
kolaente 2021-07-25 12:45:05 +02:00
parent 8664c4f88c
commit 2a6649d9dc
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -5,7 +5,7 @@
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
"serve:dist": "node scripts/serve-dist.js", "serve:dist": "node scripts/serve-dist.js",
"build": "vue-cli-service build --modern", "build": "vue-cli-service build",
"build:report": "vue-cli-service build --report", "build:report": "vue-cli-service build --report",
"lint": "vue-cli-service lint --ignore-pattern '*.test.*'", "lint": "vue-cli-service lint --ignore-pattern '*.test.*'",
"cypress:open": "cypress open", "cypress:open": "cypress open",
@ -111,7 +111,9 @@
"browserslist": [ "browserslist": [
"> 1%", "> 1%",
"last 2 versions", "last 2 versions",
"not ie < 11" "not ie > 0",
"not dead",
"Firefox ESR"
], ],
"jest": { "jest": {
"testPathIgnorePatterns": [ "testPathIgnorePatterns": [