Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support importing totalist/sync from es modules #6

Merged
merged 2 commits into from
Jan 17, 2022

Commits on Jan 15, 2022

  1. Support importing totalist/sync from es modules

    Currently when I'm trying to import `totalist/sync` from
    es module in node I get this error
    
    ```
    Error [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import '.../node_modules/totalist/sync' is not supported resolving ES modules imported from my-script.js
    Did you mean to import totalist/sync/index.js?
    ```
    
    Exports field will help to fix this.
    TrySound committed Jan 15, 2022
    Configuration menu
    Copy the full SHA
    ca6c26f View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2022

  1. Update package.json

    lukeed committed Jan 17, 2022
    Configuration menu
    Copy the full SHA
    f64729b View commit details
    Browse the repository at this point in the history