There is such a code:

import React, { Component } from "react"; import Content from "../../../../Core/Scripts/Components/Helpers/Content"; 

Somehow you can shorten the path to the core folder to use it like this:

 import React, { Component } from "react"; import { Content } from "core"; 

    1 answer 1

    I think you can use resolve-alias .