message: feat: support static file import in vite production environment
diff: @@ -10,6 +10,8 @@ import { getCwd } from '../cwd'
  const webpackCommentRegExp = /webpackChunkName:\s"(.*)?"/
  const chunkNameRe = /chunkName=(.*)/
  +const imageRegExp = /\.(jpe?g|png|svg|gif)(\?[a-z0-9=.]+)?$/
  +const fontRegExp = /\.(eot|woff|woff2|ttf)(\?.*)?$/
  const cwd = getCwd()
  const chunkNamePlugin = function (): Plugin {
  @@ -58,6 +60,9 @@ const output: OutputOptions = {
  if (assetInfo.name?.includes('client-entry')) {
  return 'Page.[hash].chunk.[ext]'
  }
  + if (assetInfo.name && (imageRegExp.test(assetInfo.name) || fontRegExp.test(assetInfo.name))) {
  + return 'assets/[name].[hash].[ext]'
  + }
  return '[name].[hash].chunk.[ext]'
  },
  manualChunks: (id: string) => {
  