How to set import shortcuts/aliases in create-react-app? From this: to this: I have a webpack 4.42.0 version. I don’t have a webpack.config.js file in the root directory. I’ve tried to create one myself with this code inside: But it doesn’t seem to work. I’ve seen the NODE_PATH=. variant in .env file. But I believe, it is deprecated – better not