📜  modulenamemapper 不工作 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:16.857000             🧑  作者: Mango

代码示例1
module.exports = {
 moduleNameMapper: {
    '\\.(css|less|scss|sass|jpg|jpeg|png|gif|webp|svg|jp?g|png|svg|gif|raw|webp|mpg|mp4|mp3|avi|ogv|ogg|wmv|amv|webm)$':
      'identity-obj-proxy'
  },
}