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

Add CopyButtonPlugin class to module.exports #12

Merged
merged 1 commit into from
Dec 20, 2022

Conversation

hugoderre
Copy link
Contributor

PR for issue #8

CopyButtonPlugin class is not exported as a module. This is a problem for those using the library as an npm package.

I simply added the CopyButtonPlugin class to module.exports so that it can be used as a module as follows :

const CopyButtonPlugin = require('highlightjs-copy').

@netlify
Copy link

netlify bot commented Dec 20, 2022

Deploy Preview for highlightjs-copy canceled.

Name Link
🔨 Latest commit
🔍 Latest deploy log https://app.netlify.com/sites/highlightjs-copy/deploys/63a1e7131cff160520dd69e8

@arronhunt arronhunt merged commit daab1f1 into arronhunt:master Dec 20, 2022
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.

None yet

2 participants