build(deps): update dependency vite-tsconfig-paths to v3.3.17 (#2492)

* build(deps): update dependency vite-tsconfig-paths to v3.3.17

* fix(web): remove vite resolve alias workaround

The resolve alias issue with Vite has been resolved in the `vite-tsconfig-paths` plugin.

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
pull/2493/head
renovate[bot] 2021-10-12 14:04:30 +11:00 committed by GitHub
parent 2853a8e56a
commit f02190d89c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 17 deletions

View File

@ -153,6 +153,6 @@
"vite-plugin-eslint": "1.3.0",
"vite-plugin-istanbul": "2.2.0",
"vite-plugin-svgr": "0.4.0",
"vite-tsconfig-paths": "3.3.15"
"vite-tsconfig-paths": "3.3.17"
}
}

View File

@ -54,7 +54,7 @@ specifiers:
vite-plugin-eslint: 1.3.0
vite-plugin-istanbul: 2.2.0
vite-plugin-svgr: 0.4.0
vite-tsconfig-paths: 3.3.15
vite-tsconfig-paths: 3.3.17
dependencies:
'@fortawesome/fontawesome-svg-core': 1.2.36
@ -112,7 +112,7 @@ devDependencies:
vite-plugin-eslint: 1.3.0_vite@2.6.7
vite-plugin-istanbul: 2.2.0
vite-plugin-svgr: 0.4.0_vite@2.6.7
vite-tsconfig-paths: 3.3.15_vite@2.6.7
vite-tsconfig-paths: 3.3.17_vite@2.6.7
packages:
@ -6597,8 +6597,8 @@ packages:
- supports-color
dev: true
/vite-tsconfig-paths/3.3.15_vite@2.6.7:
resolution: {integrity: sha512-SFPj6Y5HWB2Vy6eZZSA2VF06Lkg74kkTtMYfs47QJ2z8Fm3qFNggKHWsGDH/gesW56Ly9xmDGr1IBC8o77G+mw==}
/vite-tsconfig-paths/3.3.17_vite@2.6.7:
resolution: {integrity: sha512-wx+rfC53moVLxMBj2EApJZgY6HtvWUFVZ4dBxNGYBxSSqU6UaHdKlcOxrfGDxyTGtYEr9beWCryHn18C4EtZkg==}
peerDependencies:
vite: '>2.0.0-0'
dependencies:

View File

@ -20,7 +20,7 @@
"dom.iterable",
"esnext"
],
"types": ["@types/node", "vite/client", "vite-plugin-svgr/client"],
"types": ["vite/client", "vite-plugin-svgr/client"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
@ -43,7 +43,6 @@
],
"exclude": [
"node_modules",
"build",
"coverage"
]
}

View File

@ -1,5 +1,3 @@
import path from "path";
import reactRefresh from "@vitejs/plugin-react-refresh";
import { defineConfig, loadEnv } from "vite";
import eslintPlugin from "vite-plugin-eslint";
@ -59,14 +57,6 @@ export default defineConfig(({ mode }) => {
clientPort: env.VITE_HMR_PORT || 3000,
},
},
resolve: {
alias: [
{
find: "@components",
replacement: path.resolve(__dirname, "src/components"),
},
],
},
plugins: [eslintPlugin(), htmlPlugin(), istanbulPlugin, reactRefresh(), svgr(), tsconfigPaths()],
};
});