-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnext.config.js
More file actions
34 lines (29 loc) · 742 Bytes
/
next.config.js
File metadata and controls
34 lines (29 loc) · 742 Bytes
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
/**
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
* for Docker builds.
*/
await import("./src/env.js");
/** @type {import("next").NextConfig} */
const config = {
typescript:{
ignoreBuildErrors: true,
},
eslint: {
ignoreDuringBuilds: true,
},
// output:"standalone",
};
export default config;
// // next.config.js
// const webpack = require('webpack');
// module.exports = {
// experimental: {
// runtime: 'edge', // Enable the edge runtime
// },
// webpack: (config) => {
// config.plugins.push(new webpack.IgnorePlugin({
// resourceRegExp: /^pg-native$|^cloudflare:sockets$/,
// }));
// return config;
// },
// };