update config

This commit is contained in:
Fine 2022-08-20 15:37:31 +08:00
parent eea3ba894a
commit c03a8d14ef
4 changed files with 22 additions and 15 deletions

30
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "skywalking-booster-ui",
"version": "9.1.0",
"version": "9.3.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "skywalking-booster-ui",
"version": "9.1.0",
"version": "9.3.0",
"dependencies": {
"axios": "^0.24.0",
"d3": "^7.3.0",
@ -7259,14 +7259,20 @@
}
},
"node_modules/caniuse-lite": {
"version": "1.0.30001299",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001299.tgz",
"integrity": "sha512-iujN4+x7QzqA2NCSrS5VUy+4gLmRd4xv6vbBBsmfVqTx8bLAD8097euLqQgKxSVLvxjSDcvF1T/i9ocgnUFexw==",
"version": "1.0.30001379",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001379.tgz",
"integrity": "sha512-zXf+qxuN8OJrK5Bl5HbJg8cc5/Zm01WNW4ooVWUh92YlKqQZW3fwN5lXLB+kI8wkP5vTWkIIN+rutZuJhf4ykw==",
"dev": true,
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/browserslist"
}
"funding": [
{
"type": "opencollective",
"url": "https://opencollective.com/browserslist"
},
{
"type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
}
]
},
"node_modules/capture-exit": {
"version": "2.0.0",
@ -34806,9 +34812,9 @@
}
},
"caniuse-lite": {
"version": "1.0.30001299",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001299.tgz",
"integrity": "sha512-iujN4+x7QzqA2NCSrS5VUy+4gLmRd4xv6vbBBsmfVqTx8bLAD8097euLqQgKxSVLvxjSDcvF1T/i9ocgnUFexw==",
"version": "1.0.30001379",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001379.tgz",
"integrity": "sha512-zXf+qxuN8OJrK5Bl5HbJg8cc5/Zm01WNW4ooVWUh92YlKqQZW3fwN5lXLB+kI8wkP5vTWkIIN+rutZuJhf4ykw==",
"dev": true
},
"capture-exit": {

View File

@ -1,6 +1,6 @@
{
"name": "skywalking-booster-ui",
"version": "9.1.0",
"version": "9.3.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",

View File

@ -58,7 +58,6 @@ limitations under the License. -->
</div>
</template>
<script lang="ts" setup>
import { ref } from "vue";
import type { PropType } from "vue";
import dayjs from "dayjs";
import { useI18n } from "vue-i18n";

View File

@ -46,7 +46,9 @@ module.exports = {
.loader("svg-sprite-loader")
.options({ symbolId: "[name]" });
config.resolve.alias.set("vue-i18n", "vue-i18n/dist/vue-i18n.cjs.js");
config.plugins.delete("preload");
if (process.env.NODE_ENV === "development") {
config.plugins.delete("preload");
}
},
configureWebpack: (config) => {
config.performance = {