Try to fix new next+ant build errors

This commit is contained in:
Gabe Kangas
2024-02-07 10:30:18 -08:00
committed by GitHub
parent 4122929220
commit b14a7c2f44

View File

@@ -74,6 +74,7 @@ module.exports = async phase => {
unoptimized: true, unoptimized: true,
}, },
swcMinify: true, swcMinify: true,
transpilePackages: [ "antd", "@ant-design", "rc-util", "rc-pagination", "rc-picker", "rc-notification", "rc-tooltip", "rc-tree", "rc-table" ],
webpack(config) { webpack(config) {
config.module.rules.push({ config.module.rules.push({
test: /\.svg$/i, test: /\.svg$/i,