kopia lustrzana https://github.com/bugout-dev/moonstream
missing next config
rodzic
a4093d2002
commit
37388f48e1
|
@ -3,4 +3,13 @@ module.exports = {
|
|||
target: "serverless",
|
||||
trailingSlash: true,
|
||||
presets: [require.resolve("next/babel")],
|
||||
webpack: (config, { isServer }) => {
|
||||
// Fixes npm packages that depend on `fs` module
|
||||
if (!isServer) {
|
||||
// config.node = { fs: 'empty' };
|
||||
config.resolve.fallback.fs = false;
|
||||
}
|
||||
|
||||
return config;
|
||||
},
|
||||
};
|
||||
|
|
Ładowanie…
Reference in New Issue