2022-03-05 18:37:48 +01:00
|
|
|
module.exports = {
|
2023-01-16 21:30:58 +01:00
|
|
|
reactStrictMode: false,
|
2022-10-30 13:18:36 +01:00
|
|
|
publicRuntimeConfig: {
|
2022-10-30 15:26:54 +01:00
|
|
|
CI: process.env.CI,
|
|
|
|
PLAYWRIGHT: process.env.PLAYWRIGHT
|
2022-10-30 13:18:36 +01:00
|
|
|
},
|
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;
|
|
|
|
},
|
|
|
|
};
|