-
Notifications
You must be signed in to change notification settings - Fork 51
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
feat: Don't transpile classes #142
Conversation
"videojs-generate-karma-config": "~8.0.0", | ||
"videojs-generate-rollup-config": "^7.0.0", | ||
"videojs-generator-verify": "^4.1.0", | ||
"videojs-standard": "^9.0.1" | ||
}, | ||
"module": "dist/videojs-contrib-quality-levels.es.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this value need to change, too? Or does this file still exist?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This stays the same. This is the path Video.js's es build uses at https://github.com/videojs/video.js/blob/e1a7ac376a2b0cb69f92bff45f6ad2b0fbc1a55d/rollup.config.js#L230
package.json
Outdated
"version": "is-prerelease || npm run update-changelog && git add CHANGELOG.md", | ||
"watch": "npm-run-all -p watch:*", | ||
"watch:cjs": "npm run build:cjs -- -w", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just noticed that this and the script below fail because there's no build:cjs
or build:es
script. Are these necessary or is watch:js
sufficient?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. This was just because I'd selected a wrong option when running the latest plugin generator, and manually reverted the changes that made. But missed this bit.
Description
Ensure classes are not transpiled. The transpiled classes outputted in videojs-contrib-quality-levels.es.js are being included as-is in video.es.js
Also update dependencies and tooling generally.
Requirements Checklist