What is difference between require(StringPath) and require(variable)
I have some problem:
require '../../ui/pages/main.coffee' it works
path = '../../ui/pages/main.coffee'
Doesn’t work, and I get console error
Error: Cannot find module '../../ui/pages/main.coffee'
What’s going on ?