31 lines
609 B
TypeScript
31 lines
609 B
TypeScript
import path from "path";
|
|
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
reactStrictMode: true,
|
|
webpack: (config) => {
|
|
// Alias für dein Shared-Package
|
|
config.resolve.alias["@male/shared"] = path.resolve(
|
|
__dirname,
|
|
"packages/shared/dist"
|
|
);
|
|
|
|
// Optional: falls du @/* für src nutzen willst
|
|
config.resolve.alias["@"] = path.resolve(__dirname, "src");
|
|
|
|
return config;
|
|
},
|
|
};
|
|
|
|
/*
|
|
export default nextConfig;
|
|
|
|
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
reactStrictMode: true,
|
|
|
|
};
|
|
|
|
export default nextConfig;
|
|
*/ |