Remove dependency "vite-tsconfig-paths"
Not needed anymore
This commit is contained in:
@@ -126,7 +126,6 @@
|
|||||||
"vite": "8.0.10",
|
"vite": "8.0.10",
|
||||||
"vite-plugin-node-polyfills": "0.26.0",
|
"vite-plugin-node-polyfills": "0.26.0",
|
||||||
"vite-plugin-pwa": "1.2.0",
|
"vite-plugin-pwa": "1.2.0",
|
||||||
"vite-tsconfig-paths": "6.1.1",
|
|
||||||
"workbox-build": "7.4.0",
|
"workbox-build": "7.4.0",
|
||||||
"workbox-window": "7.4.0",
|
"workbox-window": "7.4.0",
|
||||||
"yargs": "18.0.0"
|
"yargs": "18.0.0"
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
import path from 'path';
|
import path from 'path';
|
||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from 'vite';
|
||||||
import react from '@vitejs/plugin-react-swc';
|
import react from '@vitejs/plugin-react-swc';
|
||||||
import viteTsconfigPaths from 'vite-tsconfig-paths';
|
|
||||||
import legacy from '@vitejs/plugin-legacy';
|
import legacy from '@vitejs/plugin-legacy';
|
||||||
import { VitePWA } from 'vite-plugin-pwa';
|
import { VitePWA } from 'vite-plugin-pwa';
|
||||||
import { lingui } from '@lingui/vite-plugin';
|
import { lingui } from '@lingui/vite-plugin';
|
||||||
@@ -23,9 +22,10 @@ export default defineConfig(({ command }) => ({
|
|||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
port: Number(process.env.PORT),
|
port: Number(process.env.PORT),
|
||||||
allowedHosts: process.env.ALLOWED_HOSTS.split(',').map((s) => s.trim()),
|
allowedHosts: process.env.ALLOWED_HOSTS?.split(',').map((s) => s.trim()),
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
|
tsconfigPaths: true,
|
||||||
alias: {
|
alias: {
|
||||||
'@': path.resolve(import.meta.dirname, './src'),
|
'@': path.resolve(import.meta.dirname, './src'),
|
||||||
},
|
},
|
||||||
@@ -40,7 +40,6 @@ export default defineConfig(({ command }) => ({
|
|||||||
lingui({
|
lingui({
|
||||||
failOnCompileError: true,
|
failOnCompileError: true,
|
||||||
}),
|
}),
|
||||||
viteTsconfigPaths(),
|
|
||||||
legacy({
|
legacy({
|
||||||
modernPolyfills: [
|
modernPolyfills: [
|
||||||
'es/array/to-spliced',
|
'es/array/to-spliced',
|
||||||
|
|||||||
21
yarn.lock
21
yarn.lock
@@ -5271,7 +5271,7 @@ debounce@^2.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/debounce/-/debounce-2.2.0.tgz#f895fa2fbdb579a0f0d3dcf5dde19657e50eaad5"
|
resolved "https://registry.yarnpkg.com/debounce/-/debounce-2.2.0.tgz#f895fa2fbdb579a0f0d3dcf5dde19657e50eaad5"
|
||||||
integrity sha512-Xks6RUDLZFdz8LIdR6q0MTH44k7FikOmnh5xkSjMig6ch45afc8sjTjRQf3P6ax8dMgcQrYO/AR2RGWURrruqw==
|
integrity sha512-Xks6RUDLZFdz8LIdR6q0MTH44k7FikOmnh5xkSjMig6ch45afc8sjTjRQf3P6ax8dMgcQrYO/AR2RGWURrruqw==
|
||||||
|
|
||||||
debug@^4.1.0, debug@^4.1.1, debug@^4.3.1:
|
debug@^4.1.0, debug@^4.3.1:
|
||||||
version "4.3.4"
|
version "4.3.4"
|
||||||
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"
|
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865"
|
||||||
integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
|
integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
|
||||||
@@ -6313,11 +6313,6 @@ globby@^11.0.3:
|
|||||||
merge2 "^1.4.1"
|
merge2 "^1.4.1"
|
||||||
slash "^3.0.0"
|
slash "^3.0.0"
|
||||||
|
|
||||||
globrex@^0.1.2:
|
|
||||||
version "0.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/globrex/-/globrex-0.1.2.tgz#dd5d9ec826232730cd6793a5e33a9302985e6098"
|
|
||||||
integrity sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==
|
|
||||||
|
|
||||||
goober@^2.0.33:
|
goober@^2.0.33:
|
||||||
version "2.1.14"
|
version "2.1.14"
|
||||||
resolved "https://registry.yarnpkg.com/goober/-/goober-2.1.14.tgz#4a5c94fc34dc086a8e6035360ae1800005135acd"
|
resolved "https://registry.yarnpkg.com/goober/-/goober-2.1.14.tgz#4a5c94fc34dc086a8e6035360ae1800005135acd"
|
||||||
@@ -9334,11 +9329,6 @@ ts-log@^2.2.3:
|
|||||||
resolved "https://registry.yarnpkg.com/ts-log/-/ts-log-2.2.5.tgz#aef3252f1143d11047e2cb6f7cfaac7408d96623"
|
resolved "https://registry.yarnpkg.com/ts-log/-/ts-log-2.2.5.tgz#aef3252f1143d11047e2cb6f7cfaac7408d96623"
|
||||||
integrity sha512-PGcnJoTBnVGy6yYNFxWVNkdcAuAMstvutN9MgDJIV6L0oG8fB+ZNNy1T+wJzah8RPGor1mZuPQkVfXNDpy9eHA==
|
integrity sha512-PGcnJoTBnVGy6yYNFxWVNkdcAuAMstvutN9MgDJIV6L0oG8fB+ZNNy1T+wJzah8RPGor1mZuPQkVfXNDpy9eHA==
|
||||||
|
|
||||||
tsconfck@^3.0.3:
|
|
||||||
version "3.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/tsconfck/-/tsconfck-3.0.3.tgz#d9bda0e87d05b1c360e996c9050473c7e6f8084f"
|
|
||||||
integrity sha512-4t0noZX9t6GcPTfBAbIbbIU4pfpCwh0ueq3S4O/5qXI1VwK1outmxhe9dOiEWqMz3MW2LKgDTpqWV+37IWuVbA==
|
|
||||||
|
|
||||||
tslib@^2.0.0, tslib@^2.6.3, tslib@^2.7.0, tslib@^2.8.0, tslib@^2.8.1:
|
tslib@^2.0.0, tslib@^2.6.3, tslib@^2.7.0, tslib@^2.8.0, tslib@^2.8.1:
|
||||||
version "2.8.1"
|
version "2.8.1"
|
||||||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f"
|
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f"
|
||||||
@@ -9679,15 +9669,6 @@ vite-plugin-pwa@1.2.0:
|
|||||||
workbox-build "^7.4.0"
|
workbox-build "^7.4.0"
|
||||||
workbox-window "^7.4.0"
|
workbox-window "^7.4.0"
|
||||||
|
|
||||||
vite-tsconfig-paths@6.1.1:
|
|
||||||
version "6.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/vite-tsconfig-paths/-/vite-tsconfig-paths-6.1.1.tgz#d5c28cba79c89ebf76489ef1040024b21df6da3a"
|
|
||||||
integrity sha512-2cihq7zliibCCZ8P9cKJrQBkfgdvcFkOOc3Y02o3GWUDLgqjWsZudaoiuOwO/gzTzy17cS5F7ZPo4bsnS4DGkg==
|
|
||||||
dependencies:
|
|
||||||
debug "^4.1.1"
|
|
||||||
globrex "^0.1.2"
|
|
||||||
tsconfck "^3.0.3"
|
|
||||||
|
|
||||||
vite@8.0.10:
|
vite@8.0.10:
|
||||||
version "8.0.10"
|
version "8.0.10"
|
||||||
resolved "https://registry.yarnpkg.com/vite/-/vite-8.0.10.tgz#fb31868526ec874101fac084172a2cdc6776319b"
|
resolved "https://registry.yarnpkg.com/vite/-/vite-8.0.10.tgz#fb31868526ec874101fac084172a2cdc6776319b"
|
||||||
|
|||||||
Reference in New Issue
Block a user