I
I
Ivan2020-11-18 17:18:11
JavaScript
Ivan, 2020-11-18 17:18:11

Can't find file, typescript React aliases?

fastened aliases in tsconfig and in webpack, but the files still do not resolve normally. what is the problem?
5fb52d0eec660120332259.png5fb52d160ffed417974273.png5fb52d1b60827547386164.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan, 2020-11-18
@BenderIsGreat34

problem solved, added /* everywhere

"Components/*": ["components/*"],
      "Modals/*": ["components/modals/*"],
      "Panels/*": ["components/panels/*"],
      "Services/*": ["services/*"],
      "Actions/*": ["actions/*"],
      "Reducers/*": ["reducers/*"],
      "Widgets/*": ["widgets/*"],
      "Assets/*": ["assets/*"],
      "Containers/*": ["containers/*"],
      "Config/*": ["config/*"]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question