Closed adam-lynch closed 6 years ago
Ran into this problem myself. It makes sense why it wouldn't work but took me awhile to realise it so it's worth noting.
Doesn't work:
requireAppScript = (moduleName) -> require '../../' + moduleName requireAppScript 'x'
Works:
requireAppScript = (moduleName) -> require '../../' + moduleName requireAppScript 'x' require '../../x'
:+1:
thanks!
Ran into this problem myself. It makes sense why it wouldn't work but took me awhile to realise it so it's worth noting.
Doesn't work:
Works: