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:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user