Hello.
I’m trying to set the rendering React components on the server and it’s required to have them required in the node server, but it does not get the component
not like this import CreateAccount from ‘app/components/CreateAccount’;
and not like this const CreateAccount = require ‘app/components/CreateAccount’;

And I cannot understand why?
May be I should reset the config of the webpack?

Solved.
I was struggling to solve this “problem” about for the whole last day, but I just had to add this line of code
app.get("*", function(request, response) {
response.sendFile(__dirname + ‘/app/index.html’);
});