0

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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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