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.mjs

21 lines
420 B
JavaScript
Raw Normal View History

2022-01-28 12:05:03 +01:00
/**
* @type {import('next').NextConfig}
*/
const nextConfig = {
2022-01-07 12:09:22 +01:00
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;
},
};
2022-01-28 12:05:03 +01:00
export default nextConfig;