Closed soubhikchatterjee closed 4 years ago
With node's require, when you specify a path of a folder, if there an index.js file, require automatically picks up the index.js file.
Is that not the case with this module? Do i have to specify index.js explicitly?
It uses Node.js require internally so this work as you describe.
require
With node's require, when you specify a path of a folder, if there an index.js file, require automatically picks up the index.js file.
Is that not the case with this module? Do i have to specify index.js explicitly?