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
Post a Comment