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

16 lines
321 B
JavaScript
Raw Normal View History

2022-01-07 12:09:22 +01:00
module.exports = {
eslint: {
ignoreDuringBuilds: true,
},
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;
},
};