zack commited on
Commit
ff5298c
1 Parent(s): fd99cc9

chore(next.config): 🔧 update import settings

Browse files
Files changed (1) hide show
  1. frontend/next.config.js +7 -6
frontend/next.config.js CHANGED
@@ -1,12 +1,13 @@
1
- const nextConfig = {
2
- webpack(config) {
 
 
3
  config.module.rules.push({
4
  test: /\.svg$/,
5
- use: ['@svgr/webpack'],
6
  });
7
 
8
  return config;
9
  },
10
- };
11
-
12
- module.exports = ([], nextConfig);
 
1
+ const withImages = require('next-images');
2
+
3
+ module.exports = withImages({
4
+ webpack(config, options) {
5
  config.module.rules.push({
6
  test: /\.svg$/,
7
+ use: ["@svgr/webpack"]
8
  });
9
 
10
  return config;
11
  },
12
+ // Your other Next.js config here
13
+ });