This commit is contained in:
+9
-8
@@ -1,16 +1,17 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
|
||||
const basePath = process.env.NEXT_PUBLIC_BASE_PATH || '';
|
||||
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
// AntD ships CJS + uses some patterns that benefit from transpilation in the App Router.
|
||||
transpilePackages: ['antd', '@ant-design/icons', 'rc-util', 'rc-pagination', 'rc-picker'],
|
||||
|
||||
transpilePackages: [
|
||||
'antd',
|
||||
'@ant-design/icons',
|
||||
'rc-util',
|
||||
'rc-pagination',
|
||||
'rc-picker'
|
||||
],
|
||||
|
||||
output: 'export',
|
||||
|
||||
images: {unoptimized: true},
|
||||
output: 'standalone',
|
||||
|
||||
trailingSlash: true,
|
||||
|
||||
@@ -18,4 +19,4 @@ const nextConfig = {
|
||||
assetPrefix: basePath || undefined,
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
module.exports = nextConfig;
|
||||
Reference in New Issue
Block a user