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,
|
2023-01-24 12:58:31 +01:00
|
|
|
PLAYWRIGHT: process.env.PLAYWRIGHT,
|
|
|
|
ENV: process.env.ENV
|
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;
|
|
|
|
},
|
|
|
|
};
|