fixed warnings

This commit is contained in:
Andreas 2024-06-25 08:09:53 +02:00
parent 943267be04
commit 717b41384c
2 changed files with 6 additions and 4 deletions

View File

@ -2,11 +2,14 @@ const withMDX = require('@next/mdx')()
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
sassOptions: {
includePaths: ['*'],
},
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
experimental: {
serverComponentsExternalPackages: ['sequelize', 'sequelize-typescript', 'bcrypt', '@sequelize/core', '@/app/lib/api/error'],
serverActions: {
allowedOrigins: ['localhost', 'localhost:3000']
},
},
webpack: (config) => {

View File

@ -17,7 +17,6 @@
"@types/bcrypt": "^5.0.0",
"@types/cookie": "^0.5.1",
"@types/mdx": "^2.0.13",
"@types/node": "20.14.0",
"@types/react": "18.2.30",
"@types/react-bootstrap": "^0.32.32",
"@types/react-dom": "18.2.14",
@ -54,7 +53,7 @@
"typescript": "5.0.4"
},
"devDependencies": {
"@types/node": "^20.12.7",
"@types/node": "^20.14.0",
"@types/swagger-ui-react": "^4.18.3",
"sqlite3": "^5.1.7"
}