14 lines
331 B
JavaScript
14 lines
331 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
experimental: {
|
|
serverComponentsExternalPackages: ['sql.js', 'better-sqlite3'],
|
|
},
|
|
webpack: (config) => {
|
|
config.resolve.fallback = { fs: false, path: false, crypto: false };
|
|
return config;
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|