Webpack package iconfont cannot collect woff2 files

there are css, eot, svg, ttf, woff and woff2 files under my iconfont, but woff2 files cannot be packaged into the release directory

this is the file in my source code


May.18,2022

check the configuration of your font file loader
such as

{
        test: /\.(eot|svg|ttf|woff|woff2)$/,
        use: [
          {
            loader: 'file-loader',
            options: {
              name: 'fonts/[name].[ext]',
              outputPath: 'static'
            }
          }
        ]
      }

Files with the extension woff2 must also be regularly matched

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3ab99-2c22c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3ab99-2c22c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?