You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
491 B
12 lines
491 B
/** @type {import('next').NextConfig} */ |
|
const nextConfig = { |
|
distDir: "build", |
|
typescript: { |
|
// The ts config doesn't work with `jsx: preserve" and if updated to `react-jsx` it gets ovewritten by next js throwing ts errors hence I am ignoring build errors until this is fixed. |
|
ignoreBuildErrors: true, |
|
}, |
|
// This is needed as in pages router the code for importing types throws error as its outside next js app |
|
transpilePackages: ["../"], |
|
}; |
|
|
|
module.exports = nextConfig;
|
|
|