Skip to content

Commit

Permalink
build(projects): 升级依赖,降低naive-ui版本修复打包问题
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Aug 29, 2022
1 parent c5ba631 commit f408ea0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.vscode
.idea
.vscode
.local
!.env-config.ts
components.d.ts
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"typescript",
"typescriptreact",
"vue",
"html",
"json",
"jsonc",
"json5",
Expand Down
2 changes: 1 addition & 1 deletion build/plugins/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function setupVitePlugins(viteEnv: ImportMetaEnv): (PluginOption | Plugin
const plugins = [vue(), vueJsx(), VitePWA(), html(viteEnv), ...unplugin, unocss(), mock, progress()];

if (viteEnv.VITE_VISUALIZER === 'Y') {
plugins.push(visualizer);
plugins.push(visualizer as PluginOption);
}
if (viteEnv.VITE_COMPRESS === 'Y') {
plugins.push(compress(viteEnv));
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"echarts": "^5.3.3",
"form-data": "^4.0.0",
"lodash-es": "^4.17.21",
"naive-ui": "^2.33.0",
"naive-ui": "2.32.2",
"pinia": "^2.0.21",
"print-js": "^1.6.0",
"qs": "^6.11.0",
Expand All @@ -79,9 +79,9 @@
},
"devDependencies": {
"@amap/amap-jsapi-types": "^0.0.8",
"@commitlint/cli": "^17.1.1",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@iconify/json": "^2.1.99",
"@iconify/json": "^2.1.100",
"@iconify/vue": "^3.2.1",
"@milahu/patch-package": "^6.4.14",
"@types/bmapgl": "^0.0.5",
Expand All @@ -96,7 +96,7 @@
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^6.9.2",
"eslint": "^8.23.0",
"eslint-config-soybeanjs-vue": "^0.0.8",
"eslint-config-soybeanjs-vue": "^0.0.9",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"mockjs": "^1.1.0",
Expand All @@ -117,7 +117,7 @@
"vite-plugin-progress": "^0.0.3",
"vite-plugin-pwa": "^0.12.3",
"vite-plugin-svg-icons": "^2.0.1",
"vue-tsc": "^0.40.3"
"vue-tsc": "^0.40.4"
},
"lint-staged": {
"*.{vue,js,jsx,ts,tsx,json}": "eslint --fix"
Expand Down

1 comment on commit f408ea0

@vercel
Copy link

@vercel vercel bot commented on f408ea0 Aug 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.