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

Migrate build to rollup #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cprecioso
Copy link

The current devDependencies of most-observable is impossible to install because event-stream is pinned at version 3.3.6, which had to be taken off the registry as it included malicious code.

Moreover lectro is using webpack internally, which outputs more code than rollup. It also only outputs commonjs code, which negates the tree-shaking advantages of @most/core.

@most/core already uses rollup for their build process. It also allows to create both a commonjs build and a es modules build. Therefore I'd like to suggest it for the build process of this package.

},
"dependencies": {
"symbol-observable": "^1.2.0"
},
"peerDependencies": {
"@most/core": "^1.3.2"
"@most/core": "^1.3.2",
"@most/scheduler": "^1.2.2"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package requires @most/scheduler directly. Therefore, it is good ettiquette to declare that in the package.json.
This will also become important as yarn 2 and pnpm won't let this module access any dependencies it has not declared.

@cprecioso cprecioso mentioned this pull request Jun 16, 2019
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