Try to fix new next+ant build errors
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user