When importing a module without specifying a subpath, ES6 will by default look for a file named ________.

  • main.js
  • module.js
  • index.js
  • entry.js
If a specific subpath is not provided during the import, ES6 will default to looking for a file named index.js within the target module directory.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *