What's the correct way to import a module from node_modules into a react app?
When I do: import MyModule from '../node_modules/my_module'
I get: Module not found: You attempted to import ../node_modules/my_module which falls outside of the project src/ directory. Relative imports outside of src/ are not supported. You can either move it inside src/, or add a symlink to it from project's node_modules/
Don't tell me I'm supposed to copy node_modules into src/ everytime?
Note: I'm on windows which has no symlinks.
import MyModule from 'my_module'?