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