Initial commit: NestJS NextJS pnpm monorepo
This commit is contained in:
commit
610dcf202b
175 files changed
+25172
No files matched your search
@@ -0,0 +1,31 @@
|
||||
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;
|
||||
*/
|
||||
Reference in new issue
Block a user