1
Fork 0
This repository has been archived on 2022-08-23. You can view files and clone it, but cannot push or open issues or pull requests.
web-drs-frontend/next.config.js

17 lines
346 B
JavaScript
Raw Normal View History

2022-01-07 12:09:22 +01:00
module.exports = {
eslint: {
ignoreDuringBuilds: true,
},
2022-01-07 19:22:43 +01:00
reactStrictMode: true,
2022-01-07 12:09:22 +01:00
webpack(config, { dev }) {
if (!dev) {
Object.assign(config.resolve.alias, {
react: "preact/compat",
"react-dom": "preact/compat",
"react-dom/test-utils": "preact/test-utils",
});
}
return config;
},
};