Closed Novtopro closed 7 years ago
Say, I have files like this
├── authentication │ └── index.js ├── authentication.js
In top most authentication.js file, I added line
import { init } from './authentication'
but the index.js file does not used.
index.js
The specification says that files are loaded before directories https://nodejs.org/api/modules.html#modules_all_together
Say, I have files like this
In top most authentication.js file, I added line
but the
index.js
file does not used.