21 lines
475 B
TypeScript
21 lines
475 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: 'standalone',
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
webpack: (config) => {
|
|
config.resolve = config.resolve || {};
|
|
config.resolve.alias = {
|
|
...(config.resolve.alias || {}),
|
|
'node-appwrite': require('path').resolve(__dirname, 'src/lib/appwrite.ts'),
|
|
};
|
|
return config;
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|