Open aleclarson opened 6 years ago
Assuming a package's entry module is index.js in the root directory, using require('.') from a sibling module or require('..') from a module in a sub-directory is not correctly resolved.
index.js
require('.')
require('..')
Assuming a package's entry module is
index.js
in the root directory, usingrequire('.')
from a sibling module orrequire('..')
from a module in a sub-directory is not correctly resolved.