2022-03-05 18:37:48 +01:00
|
|
|
module.exports = {
|
|
|
|
reactStrictMode: true,
|
2022-03-08 20:45:26 +01:00
|
|
|
webpack: (config, { isServer }) => {
|
|
|
|
// Fixes npm packages that depend on `fs` module
|
|
|
|
if (!isServer) {
|
|
|
|
config.resolve.fallback.fs = false;
|
|
|
|
}
|
|
|
|
return config;
|
|
|
|
},
|
|
|
|
};
|