Click to Javascript function in a shared folder

I have a folder with shared components not in the root folder that links like this:

import {
} from "modules/shared/buttons";

And in my jsconfig.json file: 

"compilerOptions": {
"baseUrl": "./",
"jsx": "react",
"paths": {
"modules/*": ["app/modules/*"]

How do I setup the folder to command-click or control-click to get to the function?

1 comment

jsconfig.json is not currently supported, please follow and


You can try a workaround from create a file config.js (you can use a different name) in your project root, define the path mappings there, like:

    "paths": {
        "modules/*": "./app/modules/*"

Please sign in to leave a comment.