mirror of
https://github.com/usebruno/bruno.git
synced 2025-02-26 22:52:06 +01:00
22 lines
477 B
JavaScript
22 lines
477 B
JavaScript
module.exports = {
|
|
reactStrictMode: false,
|
|
publicRuntimeConfig: {
|
|
CI: process.env.CI,
|
|
PLAYWRIGHT: process.env.PLAYWRIGHT,
|
|
ENV: process.env.ENV
|
|
},
|
|
webpack: (config, { isServer }) => {
|
|
// Fixes npm packages that depend on `fs` module
|
|
if (!isServer) {
|
|
config.resolve.fallback.fs = false;
|
|
}
|
|
Object.defineProperty(config, 'devtool', {
|
|
get() {
|
|
return 'source-map';
|
|
},
|
|
set() {},
|
|
});
|
|
return config;
|
|
},
|
|
};
|