mirror of
https://gitee.com/ByteDance/flowgram.ai.git
synced 2025-07-07 17:43:29 +08:00
* feat: add free-antd-materials * feat: add demo-nextjs-antd * fix(free-antd-materials): pass ts tests * chore: rename free-antd-materials to form-antd-materials
20 lines
438 B
TypeScript
20 lines
438 B
TypeScript
import path from 'path';
|
|
|
|
import type { NextConfig } from 'next';
|
|
|
|
const __dirname = new URL('.', import.meta.url).pathname;
|
|
|
|
const nextConfig: NextConfig = {
|
|
reactStrictMode: false,
|
|
webpack: (config) => {
|
|
config.resolve.alias = {
|
|
...config.resolve.alias,
|
|
'@app': path.resolve(__dirname, 'src/app'),
|
|
'@editor': path.resolve(__dirname, 'src/editor'),
|
|
};
|
|
return config;
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|