Skip to content

Commit 4a283bc

Browse files
authored
Merge pull request #25 from AET-DevOps25/16-implement-shape-component
Create shape component + Stylebar
2 parents a5ec645 + 65d2b93 commit 4a283bc

35 files changed

+4793
-152
lines changed

client/next.config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ import type { NextConfig } from "next";
22

33
const nextConfig: NextConfig = {
44
/* config options here */
5+
webpack(config) {
6+
// Configure SVG files to be imported as React components
7+
config.module.rules.push({
8+
test: /\.svg$/,
9+
use: ['@svgr/webpack'],
10+
});
11+
12+
return config;
13+
},
514
};
615

16+
717
export default nextConfig;

0 commit comments

Comments
 (0)