swagger configure

This commit is contained in:
2025-03-26 17:17:47 +08:00
parent e916eab92c
commit 913c9cd289
4 changed files with 2800 additions and 1 deletions

13
next.config.js Normal file
View File

@@ -0,0 +1,13 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
transpilePackages: ['swagger-ui-react'],
webpack: (config) => {
config.module.rules.push({
test: /\.css$/,
use: ['style-loader', 'css-loader'],
});
return config;
},
};
module.exports = nextConfig;