fix: обновить зависимости и исправить уязвимости безопасности

- bcrypt: 5.1.1 → 6.0.0 (убрана уязвимая зависимость glob@7.2.3)
 - jsdom: 22.1.0 → 28.1.0 (исправлены 3 low severity уязвимости)
 - @types/jsdom: 21.1.3 → 28.0.0
 - autoprefixer перемещён в dependencies для корректной установки
- Добавлен resolve.alias в webpack конфиг для path alias @
This commit is contained in:
kilyabin
2026-03-05 22:08:02 +04:00
parent 6e8b5231cf
commit f214c5f756
3 changed files with 1364 additions and 2909 deletions

View File

@@ -1,4 +1,6 @@
/** @type {import('next').NextConfig} */
const path = require('path')
const nextConfig = {
reactStrictMode: true,
output: 'standalone',
@@ -13,6 +15,13 @@ const nextConfig = {
path: false,
}
}
// Явно настраиваем resolve alias для path aliases
config.resolve.alias = {
...config.resolve.alias,
'@': path.resolve(__dirname, 'src'),
}
return config
},
turbopack: {