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?
Ps I’ve noticed that file.JS I am able to get/import/require in node js server but file.JSX I cannot