From 4f80ff4032a89fccaa10aba6c34b854a5237c216 Mon Sep 17 00:00:00 2001 From: cebgcontract <99630598+cebgcontract@users.noreply.github.com> Date: Tue, 1 Mar 2022 16:20:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8modern=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E6=89=93=E5=8C=85=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 9563502..d469c15 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "scripts": { "serve": "vue-cli-service serve", "lint": "vue-cli-service lint", - "build:prod": "vue-cli-service build", - "build:test": "vue-cli-service build --mode test", + "build:prod": "vue-cli-service build --modern", + "build:test": "vue-cli-service build --mode test --modern", "deploy:prod": "rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://cebg.games", "deploy:test": "rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://test.cebg.games", "refresh:prod": "aws cloudfront create-invalidation --distribution-id E34PEY4AGTMS0Y --paths \"/*\"", @@ -65,8 +65,10 @@ "vue-template-compiler": "^2.6.11" }, "browserslist": [ - "> 1%", - "last 2 versions", - "not dead" + "Chrome >= 60", + "Safari >= 10.1", + "iOS >= 10.3", + "Firefox >= 54", + "Edge >= 15" ] }