Closed felixsanz closed 8 years ago
Importing this way works due to this line in the webpack config: modulesDirectories: ['node_modules', 'shared'],
It will search not only node_modules
but also shared
folder where routes.jsx
is currently located.
thanks!
on line 5 ->
import routes from 'routes';
Why it does even works? There is no routes.js/jsx or routes/ folder. It makes no sense :confused: