-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathnext.config.ts
More file actions
74 lines (66 loc) · 1.71 KB
/
next.config.ts
File metadata and controls
74 lines (66 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// import type { NextConfig } from 'next';
// import webpack from 'webpack';
// const nextConfig: NextConfig = {
// experimental: {
// serverComponentsExternalPackages: [
// 'firebase-admin',
// '@google-cloud/firestore',
// 'google-auth-library',
// 'ai'
// ],
// optimizePackageImports: [
// '@ai-sdk/google'
// ]
// },
// webpack: (config, { isServer }) => {
// if (!isServer) {
// config.resolve.fallback = {
// ...config.resolve.fallback,
// // Core Node.js modules
// fs: false,
// net: false,
// tls: false,
// dns: false,
// child_process: false,
// // Additional modules that might be required
// http2: false,
// path: false,
// os: false,
// zlib: false,
// stream: require.resolve('stream-browserify'),
// https: false,
// http: false,
// crypto: require.resolve('crypto-browserify'),
// querystring: require.resolve('querystring-es3')
// };
// config.plugins.push(
// new webpack.IgnorePlugin({
// resourceRegExp: /^\/.*\/node_modules\/.*\/(firebase-admin|@google-cloud)/,
// contextRegExp: /.*/
// })
// );
// }
// return config;
// }
// };
// export default nextConfig;
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
// images: {
// remotePatterns: [
// {
// protocol: "https",
// hostname: "ik.imagekit.io",
// port: "",
// },
// ],
// },
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
};
export default nextConfig;