21 lines
389 B
JavaScript
21 lines
389 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// 启用 webpack 配置
|
|
webpack: (config) => {
|
|
// 添加 CSS 处理规则
|
|
config.module.rules.push({
|
|
test: /\.css$/,
|
|
type: 'asset/source',
|
|
});
|
|
|
|
return config;
|
|
},
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
};
|
|
|
|
module.exports = nextConfig;
|