build: split chunks, compress files, and auto import components on demand (#60)

This commit is contained in:
Fine0830
2022-04-11 22:36:16 +08:00
committed by GitHub
parent 1d83e14f22
commit 3b4c3cc4ea
16 changed files with 1014 additions and 48 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "skywalking-booster-ui",
"version": "0.1.0",
"version": "9.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
@@ -46,6 +46,7 @@
"@vue/eslint-config-typescript": "^7.0.0",
"@vue/test-utils": "^2.0.0-0",
"babel-jest": "^24.9.0",
"compression-webpack-plugin": "^6.1.1",
"eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^7.0.0",
@@ -63,6 +64,8 @@
"stylelint-order": "^5.0.0",
"svg-sprite-loader": "^6.0.11",
"typescript": "~4.4.4",
"unplugin-auto-import": "^0.7.0",
"unplugin-vue-components": "^0.19.2",
"vue-jest": "^5.0.0-0"
},
"eslintConfig": {
@@ -103,6 +106,9 @@
}
]
},
"eslintIgnore": [
"vue.config.js"
],
"browserslist": [
"> 1%",
"last 2 versions",
@@ -133,7 +139,7 @@
"package.json": [
"prettier --write"
],
"*.{scss,less,styl,html}": [
"*.{scss,less,styl}": [
"stylelint --fix",
"prettier --write"
],