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
346 B
JavaScript

module.exports = {
eslint: {
ignoreDuringBuilds: true,
},
reactStrictMode: 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;
},
};