Moved to _dev

This commit is contained in:
2025-09-20 16:11:47 +02:00
parent fb1a8753b7
commit b2ba11fcd3
1670 changed files with 224899 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
// Nextjs has an issue with pdfjs-dist which optionally uses the canvas package
// for Node.js compatibility. This causes a "Module parse failed" error when
// building the app. Since pdfjs-dist is only used on client side, we disable
// the canvas package for webpack
// https://github.com/mozilla/pdf.js/issues/16214
output: 'standalone',
webpack: (config) => {
// Setting resolve.alias to false tells webpack to ignore a module
// https://webpack.js.org/configuration/resolve/#resolvealias
config.resolve.alias.canvas = false;
config.resolve.alias.encoding = false;
return config;
},
};
module.exports = nextConfig;