bruno/packages/bruno-app/next.config.js

23 lines
497 B
JavaScript
Raw Normal View History

2022-03-05 18:37:48 +01:00
module.exports = {
output: 'export',
reactStrictMode: false,
2022-10-30 13:18:36 +01:00
publicRuntimeConfig: {
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;
}
Object.defineProperty(config, 'devtool', {
get() {
return 'source-map';
},
set() {},
});
2022-03-08 20:45:26 +01:00
return config;
},
};