feat: add custom cursor, navbar responsiveness, and active section indicator
This commit is contained in:
@@ -1,6 +1,23 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* Enable SVG imports as React components via @svgr/webpack */
|
||||
turbopack: {
|
||||
rules: {
|
||||
'*.svg': {
|
||||
loaders: ['@svgr/webpack'],
|
||||
as: '*.js',
|
||||
},
|
||||
},
|
||||
},
|
||||
webpack(config) {
|
||||
config.module.rules.push({
|
||||
test: /\.svg$/,
|
||||
use: ['@svgr/webpack'],
|
||||
});
|
||||
return config;
|
||||
},
|
||||
|
||||
/* Image optimization for better performance */
|
||||
images: {
|
||||
formats: ["image/avif", "image/webp"],
|
||||
|
||||
Reference in New Issue
Block a user