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>
This commit is contained in:
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-eslint": "1.3.0",
"vite-plugin-istanbul": "2.2.0", "vite-plugin-istanbul": "2.2.0",
"vite-plugin-svgr": "0.4.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-eslint: 1.3.0
vite-plugin-istanbul: 2.2.0 vite-plugin-istanbul: 2.2.0
vite-plugin-svgr: 0.4.0 vite-plugin-svgr: 0.4.0
vite-tsconfig-paths: 3.3.15 vite-tsconfig-paths: 3.3.17
dependencies: dependencies:
'@fortawesome/fontawesome-svg-core': 1.2.36 '@fortawesome/fontawesome-svg-core': 1.2.36
@ -112,7 +112,7 @@ devDependencies:
vite-plugin-eslint: 1.3.0_vite@2.6.7 vite-plugin-eslint: 1.3.0_vite@2.6.7
vite-plugin-istanbul: 2.2.0 vite-plugin-istanbul: 2.2.0
vite-plugin-svgr: 0.4.0_vite@2.6.7 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: packages:
@ -6597,8 +6597,8 @@ packages:
- supports-color - supports-color
dev: true dev: true
/vite-tsconfig-paths/3.3.15_vite@2.6.7: /vite-tsconfig-paths/3.3.17_vite@2.6.7:
resolution: {integrity: sha512-SFPj6Y5HWB2Vy6eZZSA2VF06Lkg74kkTtMYfs47QJ2z8Fm3qFNggKHWsGDH/gesW56Ly9xmDGr1IBC8o77G+mw==} resolution: {integrity: sha512-wx+rfC53moVLxMBj2EApJZgY6HtvWUFVZ4dBxNGYBxSSqU6UaHdKlcOxrfGDxyTGtYEr9beWCryHn18C4EtZkg==}
peerDependencies: peerDependencies:
vite: '>2.0.0-0' vite: '>2.0.0-0'
dependencies: dependencies:

View File

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

View File

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