Using "exports" field in npm package

Hello! I have an app on Javascript (root) and app on Typescript (ui kit). 

UI Kit package.json here:

"files": [



"exports": {

"./components": {





"./constants": {










This is UI Kit build folder


When I try to import `Button` in main app, WebStorm doesn't suggest this import from UI kit:


This is root app jsconfig.json

WebStorm 2021.3 and WebStorm 2023.1.2

What should I do?