I created and published my own npm package. But when i install it in a project, i found i cannot use it like:
import {foo} from \'my-package/src/foo.js\' <
import {foo} from \'my-package/src/foo.js\'