Skip to content

Conversation

dhoko
Copy link

@dhoko dhoko commented May 22, 2018

👋 cf https://github.com/rollup/rollup/wiki/pkg.module

We need to use this key inside the package.json to be able to use it inside another project.
ex: eslint will throw an error: 50:32 error Unable to resolve path to module 'web-streams-polyfill' import/no-unresolved`.

You also need to publish the file index.es6.js via npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant