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

Update rollup and multi-entry plugin #32

Merged
merged 2 commits into from
Nov 21, 2017

Conversation

masterful
Copy link
Contributor

It looks like the lack of a package-lock.json is the root cause of tests failing - since the versions of rollup/rollup-plugin-multi-entry don't play nice with each other as of recently (at least, that's what a cursory search appears to indicate)

@@ -9,8 +9,8 @@ import babel from 'rollup-plugin-babel';
import json from 'rollup-plugin-json';

export default {
moduleName: 'm3u8-parser',
entry: 'src/index.js',
name: 'm3u8_parser',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is something I'm not sure on - rollup will complain about the hyphen, but I can't tell if this would then require a change to the import statements for things that require m3u8-parser?

Copy link
Contributor

Choose a reason for hiding this comment

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

It should be fine, but I think we should go with camelcase (not a big deal, just preference).

"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-json": "^2.1.1",
"rollup-plugin-multi-entry": "^2.0.1",
"rollup-plugin-multi-entry": "^2.0.2",
Copy link
Contributor

Choose a reason for hiding this comment

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

Was there any specific reason for this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I believe that patch version is needed for the update in multi-entry

Though it's possible that 2.0.1 also contains it, I'm not actually sure...

@@ -9,8 +9,8 @@ import babel from 'rollup-plugin-babel';
import json from 'rollup-plugin-json';

export default {
moduleName: 'm3u8-parser',
entry: 'src/index.js',
name: 'm3u8_parser',
Copy link
Contributor

Choose a reason for hiding this comment

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

It should be fine, but I think we should go with camelcase (not a big deal, just preference).

@gesinger gesinger merged commit b23e93f into videojs:master Nov 21, 2017
@masterful masterful deleted the fix-rollup-multi-entry branch November 22, 2017 13:33
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.

3 participants