Skip to content

Commit

Permalink
chore: 修改 vite,vscode 配置
Browse files Browse the repository at this point in the history
  • Loading branch information
wangrongding committed Mar 3, 2024
1 parent 3805d04 commit 6aab14a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"editor.tabSize": 2,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true,
"source.fixAll.stylelint": true
"source.fixAll.eslint": "explicit",
"source.fixAll.stylelint": "explicit"
},

// "css.lint.unknownAtRules": "ignore",
Expand Down
2 changes: 0 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ export default defineConfig((config) => ({
// 开启响应式语法糖
reactivityTransform: true,
}),
// TODO vue3.3的时候去除,3.2目前不支持definedProp使用引入的Type。⬇️
VueTypeImports(),
viteCompression(), // gzip压缩
vueJsx(), // 引入 svg
createSvgIconsPlugin({
Expand Down

0 comments on commit 6aab14a

Please sign in to comment.