javascript - Require a directory in ES6 -


i've seen several es6 code examples directory being required, this:

import * things '../some_directory' 

where some_directory directory, not regular file. appears in case some_directory/index.js ends getting required.

is case? documented?


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -