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