media-state-changed 消息,如果状态没变化的话,不更新状态

This commit is contained in:
2026-06-03 21:00:15 +08:00
parent 600f64dc6d
commit 37f195b48c
3 changed files with 141 additions and 14 deletions

View File

@@ -80,7 +80,9 @@ export default {
],
// A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module
// moduleNameMapper: {},
moduleNameMapper: {
"^/module/(.*)$": "<rootDir>/src/$1"
},
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
// modulePathIgnorePatterns: [],