mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 16:56:24 +02:00
* init next.js app * add metadata for keyword selection * minor heading changes * updated title and keywords * updating link to reach planoai.dev --------- Co-authored-by: Musa <malikmusa1323@gmail.com> Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-342.local>
33 lines
649 B
TypeScript
33 lines
649 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
transpilePackages: [
|
|
"@katanemo/ui",
|
|
"@katanemo/shared-styles",
|
|
"@katanemo/tailwind-config",
|
|
"@katanemo/tsconfig",
|
|
],
|
|
experimental: {
|
|
externalDir: true,
|
|
},
|
|
webpack: (config, { isServer }) => {
|
|
config.resolve.modules = [
|
|
...(config.resolve.modules || []),
|
|
"node_modules",
|
|
"../../node_modules",
|
|
];
|
|
|
|
if (!isServer) {
|
|
config.resolve.fallback = {
|
|
...config.resolve.fallback,
|
|
fs: false,
|
|
};
|
|
}
|
|
return config;
|
|
},
|
|
turbopack: {
|
|
resolveAlias: {},
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|