Skip to content

[error] bad ES6 import paths in "modular" example code in README? #74

Open
@warren-bank

Description

Disclaimer: I could be wrong about this, because personally.. I only use CommonJS module imports.

But.. I was looking at the README and noticed that the ES6 module import paths don't jive with the directory structure published to npm.

Specifically, every instance of:
from '@textile/ipfs-lite/

...should be replaced by:
from '@textile/ipfs-lite/dist/

..unless ES6 module imports are somehow smart enough to search paths relative to main in package.json when the verbatim path isn't found, which I highly doubt.. but can't say for sure.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions