main-site/next.config.js

19 lines
361 B
JavaScript
Raw Normal View History

2022-12-03 20:02:13 +00:00
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
output: 'standalone',
2022-12-14 18:34:39 +00:00
compiler: {
styledComponents: true,
2023-03-16 21:16:54 +00:00
},
webpack(config) {
config.module.rules.push({
test: /\.svg$/,
use: [{ loader: "@svgr/webpack", options: { icon: true } }]
});
return config;
2022-12-14 18:34:39 +00:00
}
2022-12-03 20:02:13 +00:00
};
module.exports = nextConfig