We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91063ec commit 43bef50Copy full SHA for 43bef50
next.config.js
@@ -26,4 +26,11 @@ module.exports = {
26
compiler: {
27
emotion: true,
28
},
29
+ webpack: (config) => {
30
+ config.module.rules.push({
31
+ test: /\.svg$/,
32
+ use: ['@svgr/webpack'],
33
+ });
34
+ return config;
35
+ },
36
};
package.json
@@ -20,6 +20,7 @@
20
"devDependencies": {
21
"@emotion/react": "^11.10.4",
22
"@emotion/styled": "^11.10.4",
23
+ "@svgr/webpack": "^6.5.1",
24
"@types/node": "18.11.0",
25
"@types/react": "18.0.21",
"@types/react-dom": "18.0.6",
@@ -31,6 +32,7 @@
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
+ "react-icons": "^4.6.0",
"redux-logger": "^3.0.6",
37
"typescript": "4.8.4"
38
}
0 commit comments