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

making highlight.js non-node friendly #1473

Closed
eman1986 opened this issue Mar 14, 2017 · 1 comment
Closed

making highlight.js non-node friendly #1473

eman1986 opened this issue Mar 14, 2017 · 1 comment

Comments

@eman1986
Copy link

I'm using npm to grab all of my dependencies and when I try to grab this package it looks like the code is optimised for using on node as I keep getting the error message

module is not defined

I'd really prefer to not have to download it manually but looking like I may have to, hoping maybe you could steer me in the right direction.

Thanks

@isagalaev
Copy link
Member

The package that is hosted on npmjs is indeed node-specific. We try not to support the entire multitude of packaging solutions ourselves, but there is a third-party project that does it: https://github.com/components/highlightjs

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

No branches or pull requests

2 participants