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

feat: Don't transpile classes #142

Merged
merged 2 commits into from
Dec 19, 2022
Merged

feat: Don't transpile classes #142

merged 2 commits into from
Dec 19, 2022

Conversation

mister-ben
Copy link
Contributor

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

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
    • Unit Tests updated or fixed
    • Docs/guides updated
  • Reviewed by Two Core Contributors

"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",
Copy link
Member

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?

Copy link
Contributor Author

@mister-ben mister-ben Dec 15, 2022

Choose a reason for hiding this comment

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

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",
Copy link
Contributor

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?

Copy link
Contributor Author

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.

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.

4 participants