code quality issues fixed

This commit is contained in:
Anish Sarkar 2025-11-23 16:39:23 +05:30
parent abbaa848f3
commit 3fac196c35
17 changed files with 495 additions and 493 deletions

View file

@ -24,18 +24,13 @@ const nextConfig: NextConfig = {
],
},
// Mark BlockNote server packages as external
serverExternalPackages: [
'@blocknote/server-util',
],
serverExternalPackages: ["@blocknote/server-util"],
// Configure webpack to handle blocknote packages
webpack: (config, { isServer }) => {
if (isServer) {
// Don't bundle these packages on the server
config.externals = [
...(config.externals || []),
'@blocknote/server-util',
];
config.externals = [...(config.externals || []), "@blocknote/server-util"];
}
return config;
},