Answers for "webpack alias not working in jest"

CSS
0

webpack alias not working in jest

"jest": {
  "moduleNameMapper": {
    "^@root(.*)$": "<rootDir>/src$1",
    "^@components(.*)$": "<rootDir>/src/components$1",
  } 
}
Posted by: Guest on January-04-2021
0

webpack alias not working in jest

"jest": {
    "moduleNameMapper": {
      "^@shared(.*)$": "<rootDir>/shared$1",
      "^@components(.*)$": "<rootDir>/shared/components$1"
    }
  },
Posted by: Guest on January-04-2021

Code answers related to "webpack alias not working in jest"

Browse Popular Code Answers by Language