on bbd4189 help sign in
urbit.org/next.config.js
19 lines 441 B history raw
1module.exports = {
2 reactStrictMode: false,
3 // target: 'serverless',
4 webpack: (config, { isServer }) => {
5 // Fixes npm packages that depend on `fs` module
6 if (!isServer) {
7 config.node = {
8 fs: "empty",
9 };
10 }
11 // config.externals = {
12 // ...config.externals,
13 // canvas: "util",
14 // bufferutil: "bufferutil",
15 // "utf-8-validate": "utf-8-validate"
16 // }
17 return config;
18 },
19};