mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-22 07:53:34 +01:00
23 lines
497 B
JavaScript
23 lines
497 B
JavaScript
module.exports = {
|
|
output: 'export',
|
|
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;
|
|
},
|
|
};
|